mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'hqpicdownloaderfix01' into 'master'
Fix HQ Pics Downloader - Backface images See merge request core-developers/forge!1996
This commit is contained in:
@@ -94,6 +94,7 @@ public class GuiDownloadPicturesHQ extends GuiDownloadService {
|
|||||||
cardname = cardname.replace("'", "");
|
cardname = cardname.replace("'", "");
|
||||||
String scryfallurl = ForgeConstants.URL_PIC_SCRYFALL_DOWNLOAD + "named?fuzzy=" + cardname;
|
String scryfallurl = ForgeConstants.URL_PIC_SCRYFALL_DOWNLOAD + "named?fuzzy=" + cardname;
|
||||||
if(!setCode.equals("???")) scryfallurl += "&set=" + setCode.toLowerCase();
|
if(!setCode.equals("???")) scryfallurl += "&set=" + setCode.toLowerCase();
|
||||||
|
if(backFace) scryfallurl += "&face=back";
|
||||||
scryfallurl += "&format=image";
|
scryfallurl += "&format=image";
|
||||||
|
|
||||||
downloads.put(destPath, scryfallurl);
|
downloads.put(destPath, scryfallurl);
|
||||||
|
|||||||
Reference in New Issue
Block a user