Implemented CraftServer.getAllowEnd(). Thanks codename-B!

This commit is contained in:
Erik Broes
2011-12-09 18:55:36 +01:00
parent d36ac82c83
commit f7649724fe
3 changed files with 12 additions and 1 deletions

View File

@@ -309,6 +309,10 @@ public final class CraftServer implements Server {
return this.getConfigString("server-id", "unnamed");
}
public boolean getAllowEnd() {
return this.configuration.getBoolean("settings.allow-end");
}
public boolean getAllowNether() {
return this.getConfigBoolean("allow-nether", true);
}