From 28f3e52b57f5d7314616919f3c5ee0e092e8a9b1 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Sat, 25 Aug 2018 23:13:18 -0400 Subject: [PATCH] Update Set Symbols for recent sets and client errors on download --- .../mage/plugins/card/dl/sources/GathererSets.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java index 5ae9aff5bc2..2d7de49b9b7 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSets.java @@ -63,10 +63,10 @@ public class GathererSets implements Iterable { "POR", "P02", "PTK", "ARC", "DD3EVG", "W16", "W17", - //"APAC" -- gatherer do not have that set, scrly have PALP + //"APAC" -- gatherer do not have that set, scryfall has PALP //"ARENA" -- is't many set with different codes, not one "CLASH", "CP", "DD3GVL", "DPA", "EURO", "FNMP", "GPX", "GRC", "GUR", "H17", "JR", "MBP", "MGDC", "MLP", "MPRP", "MPS-AKH", "PTC", "S00", "S99", "SUS", "SWS", "UGIN", "UGL", "V10", "V17", "WMCQ", // need to fix - "H09", "PD2", "PD3", "UNH", "CM1", "E02", "V11", "A25", "UST", "IMA", "DD2", "EVG", "DDC", "DDE", "DDD", "DDT", "8EB", "9EB", "CHR" // ok + "H09", "PD2", "PD3", "UNH", "CM1", "V11", "A25", "UST", "IMA", "DD2", "EVG", "DDC", "DDE", "DDD", "8EB", "9EB", "CHR" // ok // current testing }; @@ -90,8 +90,9 @@ public class GathererSets implements Iterable { "KLD", "AER", "AKH", "HOU", "XLN", "C17", - "RIX", "DOM", "M19", // not released - "E01", "CM2" + "RIX", "DOM", "M19", + "E01", "CM2", "E02", + "GS1", "BBD", "C18" }; private static final String[] symbolsOnlyMyth = { @@ -176,7 +177,7 @@ public class GathererSets implements Iterable { CheckResult res = setsToDownload.get(searchCode); if (res != null) { - logger.error(String.format("Symbols: founded duplicated code: %s", searchCode)); + logger.error(String.format("Symbols: found duplicate code: %s", searchCode)); } else { res = new CheckResult(searchCode, foundedExp, haveCommon, haveUncommon, haveRare, haveMyth); setsToDownload.put(searchCode, res); @@ -189,7 +190,7 @@ public class GathererSets implements Iterable { } // checks for founded sets only - // to early to download + // too early to download if (!canDownloadTask) { Calendar c = Calendar.getInstance(); c.setTime(foundedExp.getReleaseDate());