mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 06:42:02 +01:00
Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
d081f1a06f
commit
250810823d
@ -285,4 +285,11 @@ public interface Server {
|
||||
* @param value New spawn radius, or 0 if none
|
||||
*/
|
||||
public void setSpawnRadius(int value);
|
||||
|
||||
/**
|
||||
* Gets whether the Server is in online mode or not.
|
||||
*
|
||||
* @return Whether the server is in online mode.
|
||||
*/
|
||||
public boolean getOnlineMode();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user