geforkt von Mirrors/FastAsyncWorldEdit
Fix radius mask
Dieser Commit ist enthalten in:
Ursprung
329df8d33b
Commit
0394f3516b
@ -21,7 +21,7 @@ public class RadiusMask extends AbstractMask implements ResettableMask {
|
|||||||
@Override
|
@Override
|
||||||
public boolean test(BlockVector3 to) {
|
public boolean test(BlockVector3 to) {
|
||||||
if (pos == null) {
|
if (pos == null) {
|
||||||
pos = to;
|
pos = to.toImmutable();
|
||||||
}
|
}
|
||||||
int dx = pos.getBlockX() - to.getBlockX();
|
int dx = pos.getBlockX() - to.getBlockX();
|
||||||
int d = dx * dx;
|
int d = dx * dx;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren