mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
d081f1a06f
commit
250810823d
1 changed files with 7 additions and 0 deletions
|
@ -285,4 +285,11 @@ public interface Server {
|
||||||
* @param value New spawn radius, or 0 if none
|
* @param value New spawn radius, or 0 if none
|
||||||
*/
|
*/
|
||||||
public void setSpawnRadius(int value);
|
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 a new issue