Fix area removal

This commit is contained in:
Jesse Boyd 2016-09-30 17:05:18 +10:00
parent cd2b6c8ccc
commit c533f0bae9

View File

@ -761,9 +761,11 @@ public class PS {
public void removePlotAreas(String world) { public void removePlotAreas(String world) {
for (PlotArea area : getPlotAreas(world)) { for (PlotArea area : getPlotAreas(world)) {
if (area.worldname.equals(world)) {
removePlotArea(area); removePlotArea(area);
} }
} }
}
private void setPlotsTmp(PlotArea area) { private void setPlotsTmp(PlotArea area) {
if (this.plots_tmp == null) { if (this.plots_tmp == null) {