From b60d9ef6d55291a7004de2daf8b6df1a937e1b07 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 23 Dec 2020 17:26:26 +0000 Subject: [PATCH] Fix #787 --- .../src/main/java/com/sk89q/worldedit/EditSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java index 9a02e26cd..c627bdf99 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java @@ -2076,7 +2076,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { } if (!filled) { - if (nextXn * nextXn + dy * dy + dz * dz <= 1 && nextYn * nextYn + dx * dx + dz * dz <= 1 && nextZn * nextZn + dx * dx + dy * dy <= 1) { + if (nextXn * nextXn + dy + dz <= 1 && nextYn * nextYn + dx + dz <= 1 && nextZn * nextZn + dx + dy <= 1) { continue; } }