diff --git a/forge-game/src/main/java/forge/game/ability/AbilityUtils.java b/forge-game/src/main/java/forge/game/ability/AbilityUtils.java index 97877f115ad..7a304c73418 100644 --- a/forge-game/src/main/java/forge/game/ability/AbilityUtils.java +++ b/forge-game/src/main/java/forge/game/ability/AbilityUtils.java @@ -1708,7 +1708,7 @@ public class AbilityUtils { if (res.checkTimingRestrictions(tgtCard, newSA) // still need to check the other restrictions like Aftermath && res.checkOtherRestrictions(tgtCard, newSA, controller) - && newSA.checkOtherRestrictions()) { + && newSA.checkOtherRestrictions(tgtCard)) { sas.add(newSA); } } diff --git a/forge-game/src/main/java/forge/game/spellability/Spell.java b/forge-game/src/main/java/forge/game/spellability/Spell.java index 51a83100632..ab91ef02963 100644 --- a/forge-game/src/main/java/forge/game/spellability/Spell.java +++ b/forge-game/src/main/java/forge/game/spellability/Spell.java @@ -184,11 +184,10 @@ public abstract class Spell extends SpellAbility implements java.io.Serializable } } - return checkOtherRestrictions(); + return checkOtherRestrictions(card); } // canPlay() - public boolean checkOtherRestrictions() { - final Card source = this.getHostCard(); + public boolean checkOtherRestrictions(final Card source) { Player activator = getActivatingPlayer(); final Game game = activator.getGame(); // CantBeCast static abilities