mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Added getOnlineMode() for the Server. Thanks Rigby!
This commit is contained in:
parent
a6e5c97223
commit
89a524678a
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