#1259: Add Server#isLoggingIPs to get log-ips configuration

By: Doc <nachito94@msn.com>
This commit is contained in:
CraftBukkit/Spigot 2024-02-07 07:09:34 +11:00
parent c434d05d57
commit b5ff47182d

View file

@ -686,6 +686,11 @@ public final class CraftServer implements Server {
return this.getServer().isNetherEnabled();
}
@Override
public boolean isLoggingIPs() {
return this.getServer().logIPs();
}
public boolean getWarnOnOverload() {
return this.configuration.getBoolean("settings.warn-on-overload");
}