mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +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();
|
final MagicStack stack = activator.getGame().getStack();
|
||||||
for (final SpellAbility tgtSA : sas) {
|
for (final SpellAbility tgtSA : sas) {
|
||||||
SpellAbilityStackInstance si = stack.getInstanceFromSpellAbility(tgtSA);
|
SpellAbilityStackInstance si = stack.getInstanceMatchingSpellAbilityID(tgtSA);
|
||||||
if (si == null) {
|
if (si == null) {
|
||||||
// If there isn't a Stack Instance, there isn't really a target
|
// If there isn't a Stack Instance, there isn't really a target
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user