Allow users to connect

This commit is contained in:
md_5 2013-03-21 13:37:38 +11:00
parent a564d4c7f1
commit 55ec76beee

View File

@ -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