{
if(candidateEntity == placer || candidateEntity.getCommandSenderName().equals(placerName))
continue;
if(TeamsManager.enabled && TeamsManager.getInstance().currentRound != null && placer != null)
{
PlayerData placerData = PlayerHandler.getPlayerData(placer, worldObj.isRemote ? Side.CLIENT : Side.SERVER);
PlayerData candidateData = PlayerHandler.getPlayerData((EntityPlayer)candidateEntity, worldObj.isRemote ? Side.CLIENT : Side.SERVER);
if(candidateData.team == Team.spectators || candidateData.team == null)
continue;
if(!TeamsManager.getInstance().currentRound.gametype.playerCanAttack((EntityPlayerMP)placer, placerData.team, (EntityPlayerMP)candidateEntity, candidateData.team))
continue;
}