Fix canAccess check

This commit is contained in:
md_5 2013-03-12 17:13:50 +11:00
parent 4805087e38
commit 1d2afae98e

View File

@ -93,6 +93,6 @@ public abstract class ServerInfo
*/ */
public boolean canAccess(ProxiedPlayer player) public boolean canAccess(ProxiedPlayer player)
{ {
return restricted && player.hasPermission( "bungeecord.server." + name ); return !restricted || player.hasPermission( "bungeecord.server." + name );
} }
} }