From c533f0bae93d6812a515f93c779fd372a37e69cc Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 30 Sep 2016 17:05:18 +1000 Subject: [PATCH] Fix area removal --- Core/src/main/java/com/intellectualcrafters/plot/PS.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/PS.java b/Core/src/main/java/com/intellectualcrafters/plot/PS.java index cee656cf1..3a4b10c65 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/PS.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/PS.java @@ -761,7 +761,9 @@ public class PS { public void removePlotAreas(String world) { for (PlotArea area : getPlotAreas(world)) { - removePlotArea(area); + if (area.worldname.equals(world)) { + removePlotArea(area); + } } }