From 37f7389c175300c7775142ca7e8aac6916aa2478 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Tue, 26 May 2020 11:30:47 +0400 Subject: [PATCH] * Images: fixed Star Wars download from grabbag images source; --- .../card/dl/sources/GrabbagImageSource.java | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GrabbagImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GrabbagImageSource.java index 7cd59d0a21..9d6cebf890 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GrabbagImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GrabbagImageSource.java @@ -18,14 +18,13 @@ public enum GrabbagImageSource implements CardImageSource { private static final Set supportedSets = new LinkedHashSet() { { - add("PTC"); add("SWS"); } }; @Override public String getSourceName() { - return ""; + return "Grabbag"; } @Override @@ -76,16 +75,6 @@ public enum GrabbagImageSource implements CardImageSource { return; } singleLinks = new HashMap<>(); - singleLinks.put("PTC/Arbiter of the Ideal", "MTG/BNG/en/promo/ArbiterOfTheIdeal.jpg"); - singleLinks.put("PTC/Courser of Kruphix", "MTG/BNG/en/promo/CourserOfKruphix.jpg"); - singleLinks.put("PTC/Eater of Hope", "MTG/BNG/en/promo/EaterOfHope.jpg"); - singleLinks.put("PTC/Fated Return", "MTG/BNG/en/promo/FatedReturn.jpg"); - singleLinks.put("PTC/Forgestoker Dragon", "MTG/BNG/en/promo/ForgestokerDragon.jpg"); - singleLinks.put("PTC/Nessian Wilds Ravager", "MTG/BNG/en/promo/NessianWildsRavager.jpg"); - singleLinks.put("PTC/Pain Seer", "MTG/BNG/en/promo/PainSeer.jpg"); - singleLinks.put("PTC/Silent Sentinel", "MTG/BNG/en/promo/SilentSentinel.jpg"); - singleLinks.put("PTC/Tromokratis", "MTG/BNG/en/promo/Tromokratis.jpg"); - singleLinks.put("SWS/AAT-1", "CqmDY8V.jpg"); singleLinks.put("SWS/Acklay of the Arena", "ESVRm6F.jpg"); singleLinks.put("SWS/Acquire Target", "FOskB4q.jpg"); @@ -478,7 +467,7 @@ public enum GrabbagImageSource implements CardImageSource { if (card.getSet().equals("MTG")) { return "http://static.starcitygames.com/sales/cardscans/"; } else if (card.getSet().equals("SWS")) { - return "http://i.imgur.com/"; + return "https://i.imgur.com/"; } else { return "http://magiccards.info/scans/en/"; }