mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
Added getOnlineMode() for the Server. Thanks Rigby!
This commit is contained in:
@@ -565,4 +565,8 @@ public final class CraftServer implements Server {
|
|||||||
configuration.setProperty("settings.spawn-radius", value);
|
configuration.setProperty("settings.spawn-radius", value);
|
||||||
configuration.save();
|
configuration.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getOnlineMode() {
|
||||||
|
return this.console.onlineMode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user