Stab at closing #285, /send current issues
This commit is contained in:
parent
6b21fdaaea
commit
92e7faa346
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user