Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 08:02:50 +02:00
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