mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Merge branch 'fixGrip' into 'master'
Fix ChangeTargets not finding StackInstance Closes #941 See merge request core-developers/forge!3624
This commit is contained in:
@@ -36,7 +36,7 @@ public class ChangeTargetsEffect extends SpellAbilityEffect {
|
||||
|
||||
final MagicStack stack = activator.getGame().getStack();
|
||||
for (final SpellAbility tgtSA : sas) {
|
||||
SpellAbilityStackInstance si = stack.getInstanceFromSpellAbility(tgtSA);
|
||||
SpellAbilityStackInstance si = stack.getInstanceMatchingSpellAbilityID(tgtSA);
|
||||
if (si == null) {
|
||||
// If there isn't a Stack Instance, there isn't really a target
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user