Refactor ExpansionSet and its subclasses (#8382)

* Don't purge cards-by-rarity cache between tournaments

* Move DOM and WAR specific checks out of base ExpansionSet class

* Move Battlebond specific methods out of base ExpansionSet class

* Refactor ExpansionSet and subclasses

* Zendikar boosters also only have full-art basic lands

* Fix Eldritch Moon (#8171)
This commit is contained in:
Alex W. Jackson 2021-10-13 11:47:23 -04:00 committed by GitHub
parent 819f4c4c6c
commit 7926193e34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 589 additions and 1067 deletions

View file

@ -305,16 +305,4 @@ public abstract class DraftImpl implements Draft {
started = true;
}
@Override
public void resetBufferedCards() {
Set<ExpansionSet> setsDone = new HashSet<>();
for (ExpansionSet set : sets) {
if (!setsDone.contains(set)) {
set.removeSavedCards();
setsDone.add(set);
}
}
}
}