Set gamerule DO_INSOMNIA to false when creating islands.
This commit is contained in:
parent
fefeba33be
commit
17b62d6a01
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user