Sheep code cleanup

This commit is contained in:
Sam 2017-05-01 14:10:08 +01:00
parent 0f1cea013c
commit b89e3c4abc

View File

@ -262,12 +262,9 @@ public class PerkWoolBomb extends Perk implements IThrown
List<Player> team = TeamSuperSmash.getTeam(Manager, player, false);
for (LivingEntity cur : targets.keySet())
{
if(cur instanceof Player)
if (cur instanceof Player && team.contains(cur))
{
if(team.contains(cur))
{
continue;
}
continue;
}
// Damage Event