diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 7cbd91bd..a2976bd2 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -99,7 +99,7 @@ public final class UserConnection implements ProxiedPlayer @Override public void connect(ServerInfo target) { - if ( getServer() == null || getServer().getInfo() == target ) + if ( getServer() != null && getServer().getInfo() == target ) { sendMessage( ChatColor.RED + "Cannot connect to server you are already on!" ); } else