mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix radius mask
This commit is contained in:
parent
329df8d33b
commit
0394f3516b
@ -21,7 +21,7 @@ public class RadiusMask extends AbstractMask implements ResettableMask {
|
||||
@Override
|
||||
public boolean test(BlockVector3 to) {
|
||||
if (pos == null) {
|
||||
pos = to;
|
||||
pos = to.toImmutable();
|
||||
}
|
||||
int dx = pos.getBlockX() - to.getBlockX();
|
||||
int d = dx * dx;
|
||||
|
Loading…
Reference in New Issue
Block a user