mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Fixed animals not spawning when spawn-monsters is set to false.
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
76ba24db30
commit
31ed3023b5
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ public final class CraftServer implements Server {
|
|||
|
||||
console.propertyManager = config;
|
||||
|
||||
boolean animals = config.getBoolean("spawn-monsters", console.spawnAnimals);
|
||||
boolean animals = config.getBoolean("spawn-animals", console.spawnAnimals);
|
||||
boolean monsters = config.getBoolean("spawn-monsters", console.worlds.get(0).spawnMonsters > 0);
|
||||
|
||||
console.onlineMode = config.getBoolean("online-mode", console.onlineMode);
|
||||
|
|
Loading…
Reference in a new issue