diff --git a/pom.xml b/pom.xml index a9c8f85..51c04b3 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ 2.0.9 1.21-R0.1-SNAPSHOT - 2.4.0-SNAPSHOT + 2.5.0-SNAPSHOT ${build.version}-SNAPSHOT diff --git a/src/main/java/world/bentobox/boxed/Settings.java b/src/main/java/world/bentobox/boxed/Settings.java index 2c6b0e4..ca20d18 100644 --- a/src/main/java/world/bentobox/boxed/Settings.java +++ b/src/main/java/world/bentobox/boxed/Settings.java @@ -1774,7 +1774,10 @@ public void setIgnoreAdvancements(boolean ignoreAdvancements) { * @return the concurrentIslands */ public int getConcurrentIslands() { - return concurrentIslands; + if (concurrentIslands <= 0) { + return BentoBox.getInstance().getSettings().getIslandNumber(); + } + return this.concurrentIslands; } /**