13
0
geforkt von Mirrors/Paper

Made reload support allow-flight.

Dieser Commit ist enthalten in:
EvilSeph 2011-04-21 15:40:22 -04:00
Ursprung 4ae695a176
Commit 4d78c45d8b

Datei anzeigen

@ -275,6 +275,7 @@ public final class CraftServer implements Server {
console.onlineMode = config.getBoolean("online-mode", console.onlineMode); console.onlineMode = config.getBoolean("online-mode", console.onlineMode);
console.spawnAnimals = config.getBoolean("spawn-animals", console.spawnAnimals); console.spawnAnimals = config.getBoolean("spawn-animals", console.spawnAnimals);
console.pvpMode = config.getBoolean("pvp", console.pvpMode); console.pvpMode = config.getBoolean("pvp", console.pvpMode);
console.o = config.getBoolean("allow-flight", console.o);
for (WorldServer world : console.worlds) { for (WorldServer world : console.worlds) {
world.spawnMonsters = monsters ? 1 : 0; world.spawnMonsters = monsters ? 1 : 0;