Fix set code clash with the old PrereleaseEvents set and the new Pro Tour Collector set (PTC).

Set the PrereleaseEvents code to PPRE, as listed on Scryfall.
This commit is contained in:
Thomas Hess 2020-02-03 12:08:33 +01:00
parent bced163e1e
commit d628303f3a
No known key found for this signature in database
GPG key ID: 98602F47D161B13C
13 changed files with 34 additions and 32 deletions

View file

@ -25,10 +25,12 @@ public final class MtgJson {
public static final boolean MTGJSON_IGNORE_NEW_PROPERTIES = true; // set it to false for full mtgjson checks and research (new fields finds or mtgjson updates)
// TODO: MtgJson now seems to use upper case set codes only.
// Review the ones beginning with a lower case "p" and remove the redundant entries.
static {
mtgJsonToXMageCodes.put("pWCQ", "WMCQ");
mtgJsonToXMageCodes.put("pSUS", "SUS");
mtgJsonToXMageCodes.put("pPRE", "PTC");
mtgJsonToXMageCodes.put("pPRE", "PPRE");
mtgJsonToXMageCodes.put("pMPR", "MPRP");
mtgJsonToXMageCodes.put("pMEI", "MBP");
mtgJsonToXMageCodes.put("pGTW", "GRC"); // pGTW - Gateway = GRC (WPN + Gateway in one inner set)