mirror of
https://github.com/correl/mage.git
synced 2025-03-29 01:09:05 -09:00
This commit is contained in:
parent
0022dc8c37
commit
e15db2b9b4
1 changed files with 1 additions and 0 deletions
|
@ -1223,6 +1223,7 @@ public final class CardUtil {
|
|||
cards.add(cardToCast);
|
||||
}
|
||||
cards.removeIf(Objects::isNull);
|
||||
cards.removeIf(card -> card.isLand(game));
|
||||
cards.removeIf(card -> !filter.match(card, playerId, source, game));
|
||||
if (spellCastTracker != null) {
|
||||
cards.removeIf(card -> !spellCastTracker.checkCard(card, game));
|
||||
|
|
Loading…
Add table
Reference in a new issue