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