fix: load single plot areas on creation

This commit is contained in:
Pierre Maurice Schwang 2024-09-01 17:03:11 +02:00
parent db9b51a535
commit d39a40f093
No known key found for this signature in database
GPG Key ID: 37E613079F3E5BB9

View File

@ -795,9 +795,8 @@ public class PlotSquared {
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);