mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
[STX] update lesson collation
This commit is contained in:
parent
6d95cba36c
commit
6954b5df13
1 changed files with 3 additions and 1 deletions
|
@ -166,7 +166,9 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
@Override
|
||||
public List<CardInfo> getCardsByRarity(Rarity rarity) {
|
||||
List<CardInfo> cards = super.getCardsByRarity(rarity);
|
||||
cards.removeIf(cardInfo -> cardInfo.getCard().hasSubtype(SubType.LESSON, null));
|
||||
if (rarity != Rarity.UNCOMMON) {
|
||||
cards.removeIf(cardInfo -> cardInfo.getCard().hasSubtype(SubType.LESSON, null));
|
||||
}
|
||||
return cards;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue