mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Added Gateway Plaza exception to RNA pack generation
This commit is contained in:
parent
ee7ea4e8fe
commit
5d65be47f2
1 changed files with 4 additions and 0 deletions
|
@ -318,6 +318,10 @@ public final class RavnicaAllegiance extends ExpansionSet {
|
||||||
if (maxCardNumberInBooster != Integer.MAX_VALUE) {
|
if (maxCardNumberInBooster != Integer.MAX_VALUE) {
|
||||||
savedCardsInfos.removeIf(next -> next.getCardNumberAsInt() > maxCardNumberInBooster);
|
savedCardsInfos.removeIf(next -> next.getCardNumberAsInt() > maxCardNumberInBooster);
|
||||||
}
|
}
|
||||||
|
criteria = new CardCriteria();
|
||||||
|
// Gateway Plaza is a normal common: https://twitter.com/EliShffrn/status/1043156989218414593s
|
||||||
|
criteria.setCodes(this.code).nameExact("Gateway Plaza");
|
||||||
|
savedCardsInfos.addAll(CardRepository.instance.findCards(criteria));
|
||||||
savedCards.put(rarity, savedCardsInfos);
|
savedCards.put(rarity, savedCardsInfos);
|
||||||
}
|
}
|
||||||
// Return a copy of the saved cards information, as not to modify the original.
|
// Return a copy of the saved cards information, as not to modify the original.
|
||||||
|
|
Loading…
Reference in a new issue