From 0394f3516bb79371376190402847979b01e3e101 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 17 Nov 2019 20:52:58 +0000 Subject: [PATCH] Fix radius mask --- .../src/main/java/com/boydti/fawe/object/mask/RadiusMask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/object/mask/RadiusMask.java b/worldedit-core/src/main/java/com/boydti/fawe/object/mask/RadiusMask.java index 46091a7e8..fa3f94675 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/object/mask/RadiusMask.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/object/mask/RadiusMask.java @@ -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;