Commit b23f3d9a authored by Peter's avatar Peter

Fix: We need to pass &face=back to API in order to download backface

images correctly.
parent 3c230195
......@@ -94,6 +94,7 @@ public class GuiDownloadPicturesHQ extends GuiDownloadService {
cardname = cardname.replace("'", "");
String scryfallurl = ForgeConstants.URL_PIC_SCRYFALL_DOWNLOAD + "named?fuzzy=" + cardname;
if(!setCode.equals("???")) scryfallurl += "&set=" + setCode.toLowerCase();
if(backFace) scryfallurl += "&face=back";
scryfallurl += "&format=image";
downloads.put(destPath, scryfallurl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment