mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 21:07:36 +01:00
Made reload support allow-flight.
This commit is contained in:
parent
4ae695a176
commit
4d78c45d8b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user