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

This commit is contained in:
Doc 2024-02-07 07:09:34 +11:00 committed by md_5
parent 22a541a29f
commit 4c687f2433
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

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