From d2410a5f85626c8c601fab86dc37e56498c207e3 Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 18 Sep 2024 14:19:35 -0700 Subject: [PATCH] Do not fix island centers --- .../world/bentobox/bentobox/managers/IslandsManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java b/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java index e532d6a03..3c303572b 100644 --- a/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java +++ b/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java @@ -1275,8 +1275,10 @@ public class IslandsManager { + island.getRange() + "!\n" + "Island ID in database is " + island.getUniqueId() + ".\n" + "Island distance in config.yml cannot be changed mid-game! Fix config.yml or clean database."); } else { - // Fix island center if it is off - fixIslandCenter(island); + if (!plugin.getSettings().isOverrideSafetyCheck()) { + // Fix island center if it is off + fixIslandCenter(island); + } islandCache.addIsland(island, true); if (island.isSpawn()) {