diff --git a/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java b/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java index 4c6bdced..c9ada556 100644 --- a/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java +++ b/api/src/main/java/net/md_5/bungee/api/config/ServerInfo.java @@ -93,6 +93,6 @@ public abstract class ServerInfo */ public boolean canAccess(ProxiedPlayer player) { - return restricted && player.hasPermission( "bungeecord.server." + name ); + return !restricted || player.hasPermission( "bungeecord.server." + name ); } }