mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-01-18 08:25:26 +01:00
fix: don't allow overlapping plot areas
This commit is contained in:
parent
d39a40f093
commit
f3e16ac2b8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user