Added getOnlineMode() for the Server. Thanks Rigby!

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
CraftBukkit/Spigot 2011-06-19 06:13:52 -04:00
parent b20ba5be29
commit ef3aaa62f3

View file

@ -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;
}
}