Updaetd PROMO type from (old) PROMOS

This commit is contained in:
leriomaggio
2021-06-13 20:39:42 +01:00
parent 78bc621f3c
commit b79fc195a1

View File

@@ -629,7 +629,7 @@ public final class CardDb implements ICardDatabase, IDeckGenPool {
} catch (Exception ex) {
return false;
}
return edition != null && edition.getType() != Type.PROMOS;
return edition != null && edition.getType() != Type.PROMO;
}
}));
}
@@ -641,7 +641,7 @@ 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)
if (edition.getType() == Type.PROMO||edition.getType() == Type.REPRINT)
return false;
} catch (Exception ex) {
return false;