diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index af90ed4d60..1da14352f2 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; + } }