Adding the option to suppress overload warnings as a bukkit.yml option. Thanks oloflarsson for the PR.

This commit is contained in:
Erik Broes
2012-01-15 11:11:25 +01:00
parent 25050e38eb
commit d7cec38c38
3 changed files with 6 additions and 0 deletions

View File

@@ -321,6 +321,10 @@ public final class CraftServer implements Server {
return this.getConfigBoolean("allow-nether", true);
}
public boolean getWarnOnOverload() {
return this.configuration.getBoolean("settings.warn-on-overload");
}
public boolean hasWhitelist() {
return this.getConfigBoolean("white-list", false);
}