mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Remove BFZ and OGW art variations as they're fixed upstream
This commit is contained in:
parent
6dbaa9f7cc
commit
286391738c
1 changed files with 1 additions and 4 deletions
|
|
@ -84,8 +84,7 @@ public enum ScryfallImageSource implements CardImageSource {
|
||||||
// art variation cards
|
// art variation cards
|
||||||
// ARN and POR use † notation
|
// ARN and POR use † notation
|
||||||
// PLS uses ★ notation
|
// PLS uses ★ notation
|
||||||
// BFZ and OGW use a notation
|
if (baseUrl == null && card.getUsesVariousArt() && card.getSet().matches("ARN|POR|PLS")) {
|
||||||
if (baseUrl == null && card.getUsesVariousArt() && card.getSet().matches("ARN|POR|PLS|BFZ|OGW")) {
|
|
||||||
String scryfallCollectorId = card.getCollectorIdAsInt().toString();
|
String scryfallCollectorId = card.getCollectorIdAsInt().toString();
|
||||||
|
|
||||||
if (card.getCollectorId().endsWith("b")) {
|
if (card.getCollectorId().endsWith("b")) {
|
||||||
|
|
@ -93,8 +92,6 @@ public enum ScryfallImageSource implements CardImageSource {
|
||||||
scryfallCollectorId += "†";
|
scryfallCollectorId += "†";
|
||||||
} else if (card.getSet().matches("PLS")) {
|
} else if (card.getSet().matches("PLS")) {
|
||||||
scryfallCollectorId += "★";
|
scryfallCollectorId += "★";
|
||||||
} else if (card.getSet().matches("BFZ|OGW")) {
|
|
||||||
scryfallCollectorId += "a";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue