mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 22:18:58 +01:00
Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
b20ba5be29
commit
ef3aaa62f3
1 changed files with 4 additions and 0 deletions
|
@ -565,4 +565,8 @@ public final class CraftServer implements Server {
|
||||||
configuration.setProperty("settings.spawn-radius", value);
|
configuration.setProperty("settings.spawn-radius", value);
|
||||||
configuration.save();
|
configuration.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getOnlineMode() {
|
||||||
|
return this.console.onlineMode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue