forked from External/mage
Exclude custom sets from constructed formats.
This commit is contained in:
parent
238c88a8b6
commit
74a017586a
3 changed files with 42 additions and 25 deletions
|
|
@ -68,6 +68,8 @@ public abstract class ExpansionSet implements Serializable {
|
|||
protected String packageName;
|
||||
protected int maxCardNumberInBooster; // used to ommit cards with collector numbers beyond the regular cards in a set for boosters
|
||||
|
||||
protected boolean isCustomSet = false;
|
||||
|
||||
protected final EnumMap<Rarity, List<CardInfo>> savedCards;
|
||||
|
||||
public ExpansionSet(String name, String code, String packageName, Date releaseDate, SetType setType) {
|
||||
|
|
@ -374,6 +376,8 @@ public abstract class ExpansionSet implements Serializable {
|
|||
return null;
|
||||
}
|
||||
|
||||
public boolean isCustomSet() { return isCustomSet; }
|
||||
|
||||
public void removeSavedCards() {
|
||||
savedCards.clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue