mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 10:45:22 +01:00
Do not fix island centers
This commit is contained in:
parent
e90755d73d
commit
d2410a5f85
@ -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 {
|
||||||
// Fix island center if it is off
|
if (!plugin.getSettings().isOverrideSafetyCheck()) {
|
||||||
fixIslandCenter(island);
|
// Fix island center if it is off
|
||||||
|
fixIslandCenter(island);
|
||||||
|
}
|
||||||
islandCache.addIsland(island, true);
|
islandCache.addIsland(island, true);
|
||||||
|
|
||||||
if (island.isSpawn()) {
|
if (island.isSpawn()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user