Prevent golem fissure from effecting team mates

This commit is contained in:
xGamingDudex 2016-10-20 23:20:26 +02:00
parent d26103d321
commit db3106d8a4

View File

@ -155,6 +155,11 @@ public class FissureData
}
if(Host.Manager.GetGame().GetTeam(_player).GetPlayers(true).contains(cur))
{
continue;
}
//Damage
if (!_hit.contains(cur))
if (UtilMath.offset(up.getLocation().add(0.5, 0.5, 0.5), cur.getLocation()) < 1.5)