Stab at closing #285, /send current issues

This commit is contained in:
md_5 2013-04-27 18:34:43 +10:00
parent 6b21fdaaea
commit 92e7faa346

View File

@ -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() );