* Image download - Fixed a bug of mythicspoiler source, that preveneted download of EXP images.

This commit is contained in:
LevelX2 2015-10-04 22:58:09 +02:00
parent 3bb7de006a
commit b3cadac4ea

View file

@ -100,7 +100,10 @@ public class MythicspoilerComSource implements CardImageSource {
Map<String, String> setLinks = new HashMap<>();
try {
String setNames = setsAliases.get(cardSet.toLowerCase());
Set<String> aliasesStart = cardNameAliasesStart.get(cardSet);
Set<String> aliasesStart = new HashSet<>();
if (cardNameAliasesStart.containsKey(cardSet)) {
aliasesStart.addAll(cardNameAliasesStart.get(cardSet));
}
if (setNames == null) {
setNames = cardSet.toLowerCase();
}