mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +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.save();
|
||||
}
|
||||
|
||||
public boolean getOnlineMode() {
|
||||
return this.console.onlineMode;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue