mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 12:35:15 +01:00
Setup border on world creation
This commit is contained in:
parent
f6fec56677
commit
2ff4e07919
@ -668,6 +668,7 @@ 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) {
|
||||||
@ -1445,7 +1446,6 @@ public class PS {
|
|||||||
// Now add it
|
// Now add it
|
||||||
addPlotArea(plotArea);
|
addPlotArea(plotArea);
|
||||||
plotGenerator.initialize(plotArea);
|
plotGenerator.initialize(plotArea);
|
||||||
plotArea.setupBorder();
|
|
||||||
} else {
|
} else {
|
||||||
if (!worlds.contains(world)) {
|
if (!worlds.contains(world)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user