Skip to content

Commit

Permalink
PaperMC#1259: Add Server#isLoggingIPs to get log-ips configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 authored and md-5 committed Feb 6, 2024
1 parent 22a541a commit 4c687f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/bukkit/craftbukkit/CraftServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,11 @@ public boolean getAllowNether() {
return this.getServer().isNetherEnabled();
}

@Override
public boolean isLoggingIPs() {
return this.getServer().logIPs();
}

public boolean getWarnOnOverload() {
return this.configuration.getBoolean("settings.warn-on-overload");
}
Expand Down

0 comments on commit 4c687f2

Please sign in to comment.