From 55ec76beee45d33f968300143a6beedb63ff66ce Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 21 Mar 2013 13:37:38 +1100 Subject: [PATCH] Allow users to connect --- proxy/src/main/java/net/md_5/bungee/UserConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0d0ba238..f5ade346 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -98,7 +98,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