also filter simultaneousStackEntryList

This commit is contained in:
tool4EvEr
2021-04-23 21:25:58 +02:00
parent 65e702aed7
commit cdc1f6014e

View File

@@ -718,6 +718,18 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
remove(si);
}
}
for (SpellAbility sa : Lists.newArrayList(simultaneousStackEntryList)) {
Player activator = sa.getActivatingPlayer();
if (activator == null) {
if (sa.getHostCard().getController().equals(p)) {
simultaneousStackEntryList.remove(sa);
}
} else {
if (activator.equals(p)) {
simultaneousStackEntryList.remove(sa);
}
}
}
}
public void fizzleTriggersOnStackTargeting(Card c, TriggerType t) {