diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index af90ed4d..1da14352 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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; + } } |