diff --git a/proxy/src/main/java/net/md_5/bungee/command/CommandSend.java b/proxy/src/main/java/net/md_5/bungee/command/CommandSend.java index 63cf244ca..23182d696 100644 --- a/proxy/src/main/java/net/md_5/bungee/command/CommandSend.java +++ b/proxy/src/main/java/net/md_5/bungee/command/CommandSend.java @@ -60,7 +60,7 @@ public class CommandSend extends Command private void summon(ProxiedPlayer player, ServerInfo target, CommandSender sender) { - if ( player.getServer() != null && player.getServer().getInfo() != target ) + if ( player.getServer() != null && !player.getServer().getInfo().equals( target ) ) { player.connect( target ); player.sendMessage( ChatColor.GOLD + "Summoned to " + target.getName() + " by " + sender.getName() );