mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Updaetd PROMO type from (old) PROMOS
This commit is contained in:
@@ -629,7 +629,7 @@ public final class CardDb implements ICardDatabase, IDeckGenPool {
|
|||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
return false;
|
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;
|
CardEdition edition = null;
|
||||||
try {
|
try {
|
||||||
edition = editions.getEditionByCodeOrThrow(paperCard.getEdition());
|
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;
|
return false;
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user