mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-10 09:31:57 +01:00
Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
b20ba5be29
commit
ef3aaa62f3
@ -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 New Issue
Block a user