mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Token: added check for required token's class, fixed outdated sets
This commit is contained in:
parent
8b7558b78e
commit
df96b89610
5 changed files with 33 additions and 47 deletions
|
|
@ -454,7 +454,7 @@ public enum GrabbagImageSource implements CardImageSource {
|
|||
singleLinks.put("SWS/Emblem Obi-Wan Kenobi", "Qyc10aT.png");
|
||||
singleLinks.put("SWS/Aurra Sing", "BLWbVJC.png");
|
||||
singleLinks.put("SWS/Yoda", "zH0sYxg.png");
|
||||
singleLinks.put("SWS/Emblem Skywalker", "kHELZDJ.jpg");
|
||||
singleLinks.put("SWS/Emblem Luke Skywalker", "kHELZDJ.jpg");
|
||||
|
||||
// Tokens
|
||||
singleLinks.put("SWS/Ewok", "N2MvJyr.png");
|
||||
|
|
|
|||
|
|
@ -610,6 +610,10 @@ public class DownloadPicturesService extends DefaultBoundedRangeModel implements
|
|||
if (params.size() > 7 && !params.get(6).isEmpty()) {
|
||||
tokenClassName = params.get(6);
|
||||
}
|
||||
if (tokenClassName.isEmpty()) {
|
||||
errorsList.add("Tokens database: miss class name: " + line);
|
||||
continue;
|
||||
}
|
||||
|
||||
// object type
|
||||
String objectType = params.get(2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue