Skip to content

Commit

Permalink
Merge pull request #2510 from BentoBoxWorld/2506_Override_island_dist…
Browse files Browse the repository at this point in the history
…ance_check

Do not fix island centers
  • Loading branch information
tastybento authored Sep 18, 2024
2 parents e90755d + d2410a5 commit 37ba89a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1275,8 +1275,10 @@ else if (!plugin.getSettings().isOverrideSafetyCheck() && island.getWorld() != n
+ 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()) {
Expand Down

0 comments on commit 37ba89a

Please sign in to comment.