Sheep code cleanup
This commit is contained in:
parent
0f1cea013c
commit
b89e3c4abc
@ -262,12 +262,9 @@ public class PerkWoolBomb extends Perk implements IThrown
|
|||||||
List<Player> team = TeamSuperSmash.getTeam(Manager, player, false);
|
List<Player> team = TeamSuperSmash.getTeam(Manager, player, false);
|
||||||
for (LivingEntity cur : targets.keySet())
|
for (LivingEntity cur : targets.keySet())
|
||||||
{
|
{
|
||||||
if(cur instanceof Player)
|
if (cur instanceof Player && team.contains(cur))
|
||||||
{
|
{
|
||||||
if(team.contains(cur))
|
continue;
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Damage Event
|
// Damage Event
|
||||||
|
Loading…
Reference in New Issue
Block a user