AbilityUtils: fixed getSpellAbilities if sa is null

This commit is contained in:
Hanmac
2018-03-04 11:52:29 +01:00
parent 1e7755b877
commit 2e33b3162c

View File

@@ -1205,7 +1205,7 @@ public class AbilityUtils {
final SpellAbility sa) {
final FCollection<SpellAbility> sas = new FCollection<SpellAbility>();
final String defined = (def == null) ? "Self" : applyAbilityTextChangeEffects(def, sa); // default to Self
final Game game = sa.getActivatingPlayer().getGame();
final Game game = card.getGame();
SpellAbility s = null;