From d39a40f093fe15ace71d49ce43673581a47d6b24 Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Sun, 1 Sep 2024 17:03:11 +0200 Subject: [PATCH] fix: load single plot areas on creation --- Core/src/main/java/com/plotsquared/core/PlotSquared.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/PlotSquared.java b/Core/src/main/java/com/plotsquared/core/PlotSquared.java index 702de9e68..8477a2fb4 100644 --- a/Core/src/main/java/com/plotsquared/core/PlotSquared.java +++ b/Core/src/main/java/com/plotsquared/core/PlotSquared.java @@ -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 worlds; if (this.worldConfiguration.contains("worlds")) { worlds = this.worldConfiguration.getConfigurationSection("worlds").getKeys(false);