Support Set lookup for J21 and other future sets.

Forge loads all files found on the setlookup folder.
Example J21.txt (J21 set code) contains a list of set codes (sorted from Newest to Oldest beforehand) to lookup for images on other sets.
This commit is contained in:
Anthony Calosa
2021-08-16 12:06:20 +08:00
parent dfd448a323
commit 3d322e47ee
6 changed files with 112 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ public class CardDatabaseHelper {
customReader = null;
}
staticData = new StaticData(reader, customReader, ForgeConstants.EDITIONS_DIR,
ForgeConstants.USER_CUSTOM_EDITIONS_DIR ,ForgeConstants.BLOCK_DATA_DIR,
ForgeConstants.USER_CUSTOM_EDITIONS_DIR ,ForgeConstants.BLOCK_DATA_DIR, ForgeConstants.SETLOOKUP_DIR,
"Latest Art All Editions",
true,
false);