fixed needler not doing posion

This commit is contained in:
Mini-Chiss 2015-08-13 20:56:02 +02:00
parent 5fa9135b08
commit a1ba2cffac

View File

@ -131,7 +131,7 @@ public class PerkNeedler extends SmashPerk
DamageCause.THORNS, 1.1, true, true, false, DamageCause.THORNS, 1.1, true, true, false,
damager.getName(), GetName()); damager.getName(), GetName());
if(Manager.GetGame().GetTeam(event.GetDamageePlayer()) != Manager.GetGame().GetTeam(damager)) if(!Manager.GetGame().GetTeam(event.GetDamageePlayer()).equals(Manager.GetGame().GetTeam(damager)))
{ {
Manager.GetCondition().Factory().Poison(GetName(), event.GetDamageeEntity(), damager, 2, 0, false, false, false); Manager.GetCondition().Factory().Poison(GetName(), event.GetDamageeEntity(), damager, 2, 0, false, false, false);
} }