File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/main/java/world/bentobox/boxed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 5959 <powermock .version>2.0.9</powermock .version>
6060 <!-- More visible way how to change dependency versions -->
6161 <spigot .version>1.21-R0.1-SNAPSHOT</spigot .version>
62- <bentobox .version>2.4 .0-SNAPSHOT</bentobox .version>
62+ <bentobox .version>2.5 .0-SNAPSHOT</bentobox .version>
6363 <!-- Revision variable removes warning about dynamic version -->
6464 <revision >${build.version}-SNAPSHOT</revision >
6565 <!-- Do not change unless you want different name for local builds. -->
Original file line number Diff line number Diff line change @@ -1774,7 +1774,10 @@ public void setIgnoreAdvancements(boolean ignoreAdvancements) {
17741774 * @return the concurrentIslands
17751775 */
17761776 public int getConcurrentIslands () {
1777- return concurrentIslands ;
1777+ if (concurrentIslands <= 0 ) {
1778+ return BentoBox .getInstance ().getSettings ().getIslandNumber ();
1779+ }
1780+ return this .concurrentIslands ;
17781781 }
17791782
17801783 /**
You can’t perform that action at this time.
0 commit comments