From 75be38925f287b02f9feeb28a19afda2c1958c35 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 25 Oct 2021 14:11:17 +0100 Subject: [PATCH] Fix #1378 --- .../fastasyncworldedit/bukkit/regions/WorldGuardFeature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/WorldGuardFeature.java b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/WorldGuardFeature.java index e956568d5..f4d55f834 100644 --- a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/WorldGuardFeature.java +++ b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/regions/WorldGuardFeature.java @@ -168,7 +168,7 @@ public class WorldGuardFeature extends BukkitMaskManager implements Listener { }; } else { if (myRegion instanceof ProtectedCuboidRegion) { - result.add(new CuboidRegion(myRegion.getMaximumPoint(), myRegion.getMaximumPoint())); + result.add(new CuboidRegion(myRegion.getMinimumPoint(), myRegion.getMaximumPoint())); } else { result.add(adapt(myRegion)); }