From 92e7faa346662143a851d6086e7d1840559232f4 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 27 Apr 2013 18:34:43 +1000 Subject: [PATCH] Stab at closing #285, /send current issues --- proxy/src/main/java/net/md_5/bungee/command/CommandSend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 63cf244c..23182d69 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() );