Better JSON null validation / Disable mods on startup crash
This commit is contained in:
@@ -406,6 +406,12 @@ public class ContentParser{
|
||||
this.currentMod = mod;
|
||||
this.currentContent = cont;
|
||||
run.run();
|
||||
|
||||
//check nulls after parsing
|
||||
if(cont != null){
|
||||
toBeParsed.remove(cont);
|
||||
checkNullFields(cont);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user