Set gamerule DO_INSOMNIA to false when creating islands.
This commit is contained in:
@@ -84,6 +84,7 @@ public class MasterWorldGenerator {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
newIsland.setDifficulty(Difficulty.EASY);
|
newIsland.setDifficulty(Difficulty.EASY);
|
||||||
|
newIsland.setGameRule(GameRule.DO_INSOMNIA, false);
|
||||||
// TODO Load a schematic into this world?
|
// TODO Load a schematic into this world?
|
||||||
// Currently random islands are generated by CometIslandGenerator()
|
// Currently random islands are generated by CometIslandGenerator()
|
||||||
plugin.getServer().getWorlds().add(newIsland);
|
plugin.getServer().getWorlds().add(newIsland);
|
||||||
|
|||||||
Reference in New Issue
Block a user