File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/world/bentobox/bentobox/managers Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1306,9 +1306,8 @@ public void load() throws IOException {
1306
1306
if (island .isDeleted ()) {
1307
1307
// These will be deleted later
1308
1308
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
1312
1311
&& plugin .getIWM ().inWorld (island .getWorld ())
1313
1312
&& island .getRange () != plugin .getIWM ().getIslandDistance (island .getWorld ())) {
1314
1313
throw new IOException ("Island distance mismatch!\n " + "World '" + island .getWorld ().getName ()
You can’t perform that action at this time.
0 commit comments