From f3e16ac2b866ee09223ab92d7d9cac2de7629072 Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Sun, 1 Sep 2024 17:28:12 +0200 Subject: [PATCH] fix: don't allow overlapping plot areas --- Core/src/main/java/com/plotsquared/core/command/Area.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/Area.java b/Core/src/main/java/com/plotsquared/core/command/Area.java index 5897322b2..4d3b2287b 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Area.java +++ b/Core/src/main/java/com/plotsquared/core/command/Area.java @@ -184,6 +184,7 @@ public class Area extends SubCommand { CuboidRegion.makeCuboid(playerSelectedRegion) ).length != 0) { player.sendMessage(TranslatableCaption.of("single.single_area_overlapping")); + return false; } // Alter the region final BlockVector3 playerSelectionMin = playerSelectedRegion.getMinimumPoint();