mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
Adding the option to suppress overload warnings as a bukkit.yml option. Thanks oloflarsson for the PR.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user