Update creator-23.js

This commit is contained in:
Kyle
2021-10-13 20:31:10 -07:00
parent 2d12361b0a
commit 103462df8b

View File

@@ -1263,7 +1263,7 @@ function changeArtIndex() {
const scryfallCardForArt = scryfallArt[artIndexValue];
uploadArt(scryfallCardForArt.image_uris.art_crop, 'autoFit');
artistEdited(scryfallCardForArt.artist);
if (params.get('mtgpics') == 'true') {
if (params.get('mtgpics') != null) {
imageURL(`https://www.mtgpics.com/pics/art/${scryfallCardForArt.set.toLowerCase()}/${("00" + scryfallCardForArt.collector_number).slice(-3)}.jpg`, tryMTGPicsArt);
}
}