mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 02:35:21 +01:00
Merge pull request #2510 from BentoBoxWorld/2506_Override_island_distance_check
Do not fix island centers
This commit is contained in:
commit
37ba89a00f
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user