From 5d65be47f22f31fbee103b682a90155dc2035157 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 12 Jan 2019 11:32:59 -0500 Subject: [PATCH] Added Gateway Plaza exception to RNA pack generation --- Mage.Sets/src/mage/sets/RavnicaAllegiance.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mage.Sets/src/mage/sets/RavnicaAllegiance.java b/Mage.Sets/src/mage/sets/RavnicaAllegiance.java index 1e881a07ce..735ad45eb1 100644 --- a/Mage.Sets/src/mage/sets/RavnicaAllegiance.java +++ b/Mage.Sets/src/mage/sets/RavnicaAllegiance.java @@ -318,6 +318,10 @@ public final class RavnicaAllegiance extends ExpansionSet { if (maxCardNumberInBooster != Integer.MAX_VALUE) { 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); } // Return a copy of the saved cards information, as not to modify the original.