mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
AbilityUtils: fixed getSpellAbilities if sa is null
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user