Made reload support allow-flight.

This commit is contained in:
EvilSeph 2011-04-21 15:40:22 -04:00
parent 4ae695a176
commit 4d78c45d8b

View File

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