Content Patcher

Content Patcher

378k Downloads

[Lookup Anything] add data.json validation

Pathoschild opened this issue ยท 1 comments

commented

When the data.json file is outdated, the mod can fail at runtime with null reference exceptions deep in the code which are difficult to troubleshoot. Add validation on startup that checks (a) a version number in the file to ensure it's updated, and (b) that no properties are missing.

commented

Done in the upcoming 1.6 release via d1d4999.