This commit is contained in:
Jesse Boyd 2016-08-17 18:30:58 +10:00
parent 3558105789
commit 005e13a216

View File

@ -670,7 +670,6 @@ public class PS {
* @see #removePlotArea(PlotArea) To remove the reference * @see #removePlotArea(PlotArea) To remove the reference
*/ */
public void addPlotArea(PlotArea plotArea) { public void addPlotArea(PlotArea plotArea) {
plotArea.setupBorder();
HashMap<PlotId, Plot> plots; HashMap<PlotId, Plot> plots;
if (plots_tmp == null || (plots = plots_tmp.remove(plotArea.toString())) == null) { if (plots_tmp == null || (plots = plots_tmp.remove(plotArea.toString())) == null) {
if (plotArea.TYPE == 2) { if (plotArea.TYPE == 2) {
@ -729,6 +728,7 @@ public class PS {
this.plotAreaGrid.put(plotArea.worldname, map); this.plotAreaGrid.put(plotArea.worldname, map);
} }
map.add(plotArea); map.add(plotArea);
plotArea.setupBorder();
} }
/** /**