mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Removed Amonkhet cards from the Archenemy: Nicol Bolas set.
- The Amonkhet cards are indistinguishable from the regular Amonkhet cards - Simplified the ScryfallImageSource class by removing a special case.
This commit is contained in:
parent
7fb56aafda
commit
69c5407d15
2 changed files with 1 additions and 30 deletions
|
|
@ -198,20 +198,6 @@ public enum ScryfallImageSource implements CardImageSource {
|
|||
preparedUrls.put(card, url);
|
||||
}
|
||||
|
||||
// if an E01 card number is above 106, it's actually an AKH card
|
||||
if (card.getSet().equals("E01") && card.getCollectorIdAsInt() > 106) {
|
||||
String url = null;
|
||||
|
||||
try {
|
||||
url = searchCard(proxy, "AKH", card.getName());
|
||||
} catch (Exception e) {
|
||||
logger.warn("Failed to prepare image URL (E01) for " + card.getName() + " (" + card.getSet() + ") #" + card.getCollectorId());
|
||||
downloadServiceInfo.incErrorCount();
|
||||
continue;
|
||||
}
|
||||
|
||||
preparedUrls.put(card, url);
|
||||
}
|
||||
|
||||
// inc error count to stop on too many errors
|
||||
// downloadServiceInfo.incErrorCount();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue