Skip to content

Commit

Permalink
fix: load single plot areas on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSchwang committed Sep 1, 2024
1 parent db9b51a commit d39a40f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Core/src/main/java/com/plotsquared/core/PlotSquared.java
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,8 @@ public void loadWorld(
if (world.equals("CheckingPlotSquaredGenerator")) {
return;
}
if (!this.getPlotAreaManager().addWorld(world)) {
return;
}
// Don't check the return result -> breaks runtime loading of single plot areas on creation
this.getPlotAreaManager().addWorld(world);
Set<String> worlds;
if (this.worldConfiguration.contains("worlds")) {
worlds = this.worldConfiguration.getConfigurationSection("worlds").getKeys(false);
Expand Down

0 comments on commit d39a40f

Please sign in to comment.