mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Image download - Fixed a bug of mythicspoiler source, that preveneted download of EXP images.
This commit is contained in:
parent
3bb7de006a
commit
b3cadac4ea
1 changed files with 4 additions and 1 deletions
|
@ -100,7 +100,10 @@ public class MythicspoilerComSource implements CardImageSource {
|
||||||
Map<String, String> setLinks = new HashMap<>();
|
Map<String, String> setLinks = new HashMap<>();
|
||||||
try {
|
try {
|
||||||
String setNames = setsAliases.get(cardSet.toLowerCase());
|
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) {
|
if (setNames == null) {
|
||||||
setNames = cardSet.toLowerCase();
|
setNames = cardSet.toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue