- ConquestUtil: skip promos (again) and other reprints when choosing the starting Planeswalker

This commit is contained in:
Michael Kamensky
2021-03-10 09:08:32 +03:00
parent 3914fde25f
commit 076e27851f

View File

@@ -179,7 +179,8 @@ public class ConquestUtil {
return Iterables.filter(FModel.getMagicDb().getCommonCards(), new Predicate<PaperCard>() {
@Override
public boolean apply(PaperCard card) {
if (FModel.getMagicDb().getEditions().get(card.getEdition()).getType() == CardEdition.Type.REPRINT) {
if (FModel.getMagicDb().getEditions().get(card.getEdition()).getType() == CardEdition.Type.PROMOS
|| FModel.getMagicDb().getEditions().get(card.getEdition()).getType() == CardEdition.Type.REPRINT) {
return false; // exclude promos from the starting planeswalker set
}
if (selected.contains(card.getName())) {