Set gamerule DO_INSOMNIA to false when creating islands.

This commit is contained in:
Len 2024-02-17 15:03:56 +01:00
parent fefeba33be
commit 17b62d6a01

View File

@ -84,6 +84,7 @@ public class MasterWorldGenerator {
return;
}
newIsland.setDifficulty(Difficulty.EASY);
newIsland.setGameRule(GameRule.DO_INSOMNIA, false);
// TODO Load a schematic into this world?
// Currently random islands are generated by CometIslandGenerator()
plugin.getServer().getWorlds().add(newIsland);