Fix CARDNAME on 6 cards

Some spell descriptions were not properly using CARDNAME. This is relevant because Mutate, etc.
This commit is contained in:
Meerkov
2021-07-22 09:45:01 +00:00
committed by Michael Kamensky
parent 4b5eb736e0
commit b4928378c9
2 changed files with 9 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ public class LimitedDeckBuilder extends DeckGeneratorBase {
// remove Unplayables
final Iterable<PaperCard> playables = Iterables.filter(availableList,
Predicates.compose(CardRulesPredicates.IS_KEPT_IN_AI_DECKS, PaperCard.FN_GET_RULES));
Predicates.compose(CardRulesPredicates.IS_KEPT_IN_AI_LIMITED_DECKS, PaperCard.FN_GET_RULES));
this.aiPlayables = Lists.newArrayList(playables);
this.availableList.removeAll(aiPlayables);