From e120932bb44a3026aee2f2ea7b6d8ae7c094fe4b Mon Sep 17 00:00:00 2001 From: tiera3 <87589219+tiera3@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:23:29 +1000 Subject: [PATCH] Add files via upload --- Mage/src/main/java/mage/cards/ExpansionSet.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/cards/ExpansionSet.java b/Mage/src/main/java/mage/cards/ExpansionSet.java index 0b59e1d1223d..60803d64eb12 100644 --- a/Mage/src/main/java/mage/cards/ExpansionSet.java +++ b/Mage/src/main/java/mage/cards/ExpansionSet.java @@ -145,7 +145,6 @@ public static ExpansionSetComparator getComparator() { protected boolean hasAlternateBoosterPrintings = true; // not counting basic lands; e.g. Fallen Empires true, but Tenth Edition false protected int maxCardNumberInBooster; // used to omit cards with collector numbers beyond the regular cards in a set for boosters - protected int maxCardNumberBasePrint; // used to omit limit boosters to only contain cards with a base printing protected final EnumMap> savedCards = new EnumMap<>(Rarity.class); protected final EnumMap> savedSpecialCards = new EnumMap<>(Rarity.class); @@ -224,7 +223,7 @@ public List create15CardBooster() { // removing positional cards from collated boosters is going to mess with balancing and as-fan // also for sets with common lands in the land slot, this may eliminate the majority of fixing from a pack // instead removing a random card that is not in the last four (where rare and uncommons usually are - though some uncommons may be displayed by cards with special collation - eg DFC or bonus sheet). - if (this.Booster.size() > 15 && this.Booster.get(0).getRarity() == Rarity.LAND) { + if (theBooster.size() > 15 && theBooster.get(0).getRarity() == Rarity.LAND) { theBooster.remove(0); } while (theBooster.size() > 15) {