Skip to content

Commit f41ce1b

Browse files
Revert "Load islands even if they are marked as deleted."
This reverts commit c1ddc74.
1 parent 1d2dc49 commit f41ce1b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/world/bentobox/bentobox/managers/IslandsManager.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,9 +1306,8 @@ public void load() throws IOException {
13061306
if (island.isDeleted()) {
13071307
// These will be deleted later
13081308
deletedIslands.add(island.getUniqueId());
1309-
}
1310-
// Check island distance and if incorrect stop BentoBox
1311-
if (!plugin.getSettings().isOverrideSafetyCheck() && island.getWorld() != null
1309+
} // Check island distance and if incorrect stop BentoBox
1310+
else if (!plugin.getSettings().isOverrideSafetyCheck() && island.getWorld() != null
13121311
&& plugin.getIWM().inWorld(island.getWorld())
13131312
&& island.getRange() != plugin.getIWM().getIslandDistance(island.getWorld())) {
13141313
throw new IOException("Island distance mismatch!\n" + "World '" + island.getWorld().getName()

0 commit comments

Comments
 (0)