Changed land slot card generation of Fate Reforged booster (related to #666).

This commit is contained in:
LevelX2 2016-03-09 12:27:40 +01:00
parent 7ac679048c
commit 89bd184407
2 changed files with 23 additions and 13 deletions

View file

@ -67,7 +67,7 @@ public abstract class ExpansionSet implements Serializable {
protected int ratioBoosterMythic;
protected String packageName;
protected int maxCardNumberInBooster;
protected int maxCardNumberInBooster; // used to ommit cards with collector numbers beyond the regular cards in a set for boosters
protected final EnumMap<Rarity, List<CardInfo>> savedCards;
@ -304,7 +304,7 @@ public abstract class ExpansionSet implements Serializable {
savedCardsInfos = CardRepository.instance.findCards(criteria);
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 let modify the original.
return new ArrayList<>(savedCardsInfos);
}