Initialize ID for PF2e imported monsters to prevent SQLite exceptions

This commit is contained in:
2026-09-22 20:35:44 -07:00
committed by Tom
parent a7b0e68197
commit 35f45513aa
6 changed files with 213 additions and 87 deletions

View File

@@ -17,6 +17,7 @@ public class ImportConfig {
ImportSource.ImportType.OPEN5E_API,
null,
null,
null,
null
));
@@ -28,7 +29,20 @@ public class ImportConfig {
ImportSource.ImportType.GIT_ARCHIVE,
"https://github.com/foundryvtt/pf2e/archive/refs/heads/master.zip",
"com.majinnaibu.monstercards.importers.Pf2eImporter",
".json"
".json",
"packs/pf2e"
));
SOURCES.add(new ImportSource(
"sf2e_foundry",
"Starfinder 2e Foundry VTT",
"foundryvtt",
"https://github.com/foundryvtt/pf2e",
ImportSource.ImportType.GIT_ARCHIVE,
"https://github.com/foundryvtt/pf2e/archive/refs/heads/master.zip",
"com.majinnaibu.monstercards.importers.Pf2eImporter",
".json",
"packs/sf2e"
));
}
}