Sheep code cleanup
This commit is contained in:
parent
0f1cea013c
commit
b89e3c4abc
|
@ -262,13 +262,10 @@ 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(team.contains(cur))
|
||||
if (cur instanceof Player && team.contains(cur))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Damage Event
|
||||
Manager.GetDamage().NewDamageEvent(cur, player, null, DamageCause.CUSTOM, _damageExplode * targets.get(cur) + 0.5, false, true, false, player.getName(), GetName());
|
||||
|
|
Loading…
Reference in New Issue