mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user