diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 19f3090909..997c596656 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1518,6 +1518,16 @@ public final class CraftServer implements Server { console.setHasWhitelist(value); } + @Override + public boolean isWhitelistEnforced() { + return console.aN(); + } + + @Override + public void setWhitelistEnforced(boolean value) { + console.h(value); + } + @Override public Set getWhitelistedPlayers() { Set result = new LinkedHashSet();