forked from External/mage
Move the custom set flag to setType.
This commit is contained in:
parent
d678fc1a59
commit
e5af2b843b
3 changed files with 4 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ public class Sets extends HashMap<String, ExpansionSet> {
|
|||
public void addSet(ExpansionSet set) {
|
||||
if(containsKey(set.getCode())) throw new IllegalArgumentException("Set code "+set.getCode()+" already exists.");
|
||||
this.put(set.getCode(), set);
|
||||
if(set.isCustomSet) customSets.add(set.getCode());
|
||||
if(set.isCustomSet()) customSets.add(set.getCode());
|
||||
}
|
||||
|
||||
public static boolean isCustomSet(String setCode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue