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:
Thomas Hess 2020-03-18 18:52:30 +01:00
parent 7fb56aafda
commit 69c5407d15
No known key found for this signature in database
GPG key ID: 98602F47D161B13C
2 changed files with 1 additions and 30 deletions

View file

@ -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();