[ANSWERED] Some safety in case of invalid recipes
Mrkol opened this issue ยท 3 comments
chylex.hee.mechanics.orb.OrbAcquirableItems.initialize() is pretty unsafe. There should be more null-checks, because certain mods can register their recipes wrongly, and you don't want to get false reports like #38.
Honestly it's a good thing that he crashes. As allowing shit like this to get in the game, will inevitably break other mods and maybe even break it more catastrophically than a start up crash.
They can register their recipes wrongly, but I don't have to make my mod work with them. It's not even my mod's fault, the crash happens when my code uses VANILLA CODE to simply get the damage value of an item, which should NEVER happen.