mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
#1259: Add Server#isLoggingIPs to get log-ips configuration
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
c434d05d57
commit
b5ff47182d
1 changed files with 5 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue