Fix dangerous NPE in AttackAction