TehNut-Mods / ResourcefulCrops

Simply JSON based resource crops
MIT License
12 stars 7 forks source link

Invalid seeds cause crash on startup #42

Closed ghost closed 7 years ago

ghost commented 7 years ago

If you have seed configs with invalid ids, the game crashes on startup.

This is happens on its own if you add & remove other mods:

1) ResourcefulCrops adds configs for new mods automatically 2) You remove the other mod again 3) ResourcefulCrops auto-generated seed config stays 4) You now get a crash on startup as it can no longer find the material

This should not happen, it should just disregard the entry, log that and startup normally.

Both with ResourcefulCrops-1.10.2-2.0.0-56 and 57

TehNut commented 7 years ago

Can't do much without a log.

ghost commented 7 years ago

crash-2017-03-06_10.44.37-client.txt