mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 10:45:22 +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.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.");
|
+ "Island distance in config.yml cannot be changed mid-game! Fix config.yml or clean database.");
|
||||||
} else {
|
} else {
|
||||||
|
if (!plugin.getSettings().isOverrideSafetyCheck()) {
|
||||||
// Fix island center if it is off
|
// Fix island center if it is off
|
||||||
fixIslandCenter(island);
|
fixIslandCenter(island);
|
||||||
|
}
|
||||||
islandCache.addIsland(island, true);
|
islandCache.addIsland(island, true);
|
||||||
|
|
||||||
if (island.isSpawn()) {
|
if (island.isSpawn()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user