update Filter

This commit is contained in:
Anthony Calosa
2021-04-30 22:20:26 +08:00
parent 6f13aa4724
commit 1e1c5fa139

View File

@@ -635,10 +635,12 @@ public final class CardDb implements ICardDatabase, IDeckGenPool {
CardEdition edition = null;
try {
edition = editions.getEditionByCodeOrThrow(paperCard.getEdition());
if (edition.getType() == Type.PROMOS||edition.getType() == Type.REPRINT)
return false;
} catch (Exception ex) {
return false;
}
return edition != null && (edition.getType() != Type.PROMOS||edition.getType() != Type.REPRINT);
return true;
}
}));
}