mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed NPE caused by Sidisi, Brood Tyrant (but it still won't work correctly with some effects).
This commit is contained in:
@@ -138,7 +138,7 @@ public class TriggerChangesZone extends Trigger {
|
|||||||
// card, rather than keeping track of the host card itself - but it's good enough for now - since there are
|
// card, rather than keeping track of the host card itself - but it's good enough for now - since there are
|
||||||
// no cards with multiple different OncePerEffect triggers.
|
// no cards with multiple different OncePerEffect triggers.
|
||||||
SpellAbilityStackInstance si = (SpellAbilityStackInstance) runParams2.get("SpellAbilityStackInstance");
|
SpellAbilityStackInstance si = (SpellAbilityStackInstance) runParams2.get("SpellAbilityStackInstance");
|
||||||
return si.attemptOncePerEffectTrigger(this.getHostCard());
|
return si != null && si.attemptOncePerEffectTrigger(this.getHostCard());
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user