Fixed animals not spawning when spawn-monsters is set to false.

Dieser Commit ist enthalten in:
EvilSeph 2011-05-22 15:29:55 -04:00
Ursprung 8b0924bbb4
Commit 949634ad67

Datei anzeigen

@ -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);