From aecb205eafc20414eb25d0825d023987bac548ef Mon Sep 17 00:00:00 2001 From: Zach Sorenson Date: Thu, 23 Feb 2023 19:46:33 -0600 Subject: [PATCH] Remove slash breaking non-english releases --- .../org/mage/plugins/card/dl/sources/ScryfallImageSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java index 519fa48360..388b449ecc 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSource.java @@ -85,7 +85,7 @@ public enum ScryfallImageSource implements CardImageSource { alternativeUrl = link + defaultCode + "?format=image"; // workaround to use cards without english images (some promos or special cards) if (Objects.equals(baseUrl, alternativeUrl) && baseUrl.endsWith("/en?format=image")) { - alternativeUrl = alternativeUrl.replace("/en?format=image", "/?format=image"); + alternativeUrl = alternativeUrl.replace("/en?format=image", "?format=image"); } } else { // image