diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-06-19 06:13:52 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-19 06:34:21 -0400 |
commit | 89a524678a1b219cf6d91711d7f9b2a56e621cf8 (patch) | |
tree | 7c1dc37d49821ec630166d58cfc1610057819daa | |
parent | a6e5c9722313cad63802559bd0a568911371f28c (diff) | |
download | craftbukkit-89a524678a1b219cf6d91711d7f9b2a56e621cf8.tar craftbukkit-89a524678a1b219cf6d91711d7f9b2a56e621cf8.tar.gz craftbukkit-89a524678a1b219cf6d91711d7f9b2a56e621cf8.tar.lz craftbukkit-89a524678a1b219cf6d91711d7f9b2a56e621cf8.tar.xz craftbukkit-89a524678a1b219cf6d91711d7f9b2a56e621cf8.zip |
Added getOnlineMode() for the Server. Thanks Rigby!
-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; + } } |