mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-28 05:05:21 +01:00
Allow users to connect
This commit is contained in:
parent
a564d4c7f1
commit
55ec76beee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user