Fixed phase deflect achievement

This commit is contained in:
Anuken
2020-12-16 19:47:40 -05:00
parent d0bf3d6fa1
commit 59c85a486f

View File

@@ -110,7 +110,7 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw
type.hitEntity(self(), other, health);
if(owner instanceof WallBuild && player != null && team != player.team() && other instanceof Unit unit && unit.dead){
if(owner instanceof WallBuild && player != null && team == player.team() && other instanceof Unit unit && unit.dead){
Events.fire(Trigger.phaseDeflectHit);
}
}