mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fix area removal
This commit is contained in:
parent
cd2b6c8ccc
commit
c533f0bae9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user