Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tiera3 authored Jan 7, 2025
1 parent 808625f commit e120932
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Mage/src/main/java/mage/cards/ExpansionSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<Rarity, List<CardInfo>> savedCards = new EnumMap<>(Rarity.class);
protected final EnumMap<Rarity, List<CardInfo>> savedSpecialCards = new EnumMap<>(Rarity.class);
Expand Down Expand Up @@ -224,7 +223,7 @@ public List<Card> 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) {
Expand Down

0 comments on commit e120932

Please sign in to comment.