Actually fix the corrupt JSON problem
This commit is contained in:
parent
4f6861ee50
commit
02792c45e6
|
@ -42,7 +42,7 @@ public class MetadataCollection
|
|||
catch (InvalidSyntaxException e)
|
||||
{
|
||||
FMLLog.log(Level.SEVERE, e, "The mcmod.info file in %s cannot be parsed as valid JSON. It will be ignored", sourceName);
|
||||
return null;
|
||||
return new MetadataCollection();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue