From 3212dddb2d37a5788abc7e4ad5b4a30076d10edd Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 27 Jun 2022 13:38:22 +0100 Subject: [PATCH] Fix BlendBall for no mask --- .../fastasyncworldedit/core/command/tool/brush/BlendBall.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/command/tool/brush/BlendBall.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/command/tool/brush/BlendBall.java index 47ccb3260..902e48a9b 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/command/tool/brush/BlendBall.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/command/tool/brush/BlendBall.java @@ -136,7 +136,7 @@ public class BlendBall implements Brush { } private boolean maskFails(EditSession editSession, MutableBlockVector3 mutable) { - return mask == null || !mask.test(editSession, mutable); + return mask != null && !mask.test(editSession, mutable); } }