Totempedia crash with empty oredict entry
codetaylor opened this issue ยท 2 comments
What
Removing the iron bells from the <ore:bellsIron>
oredict entry causes a divide by zero error when using the remainder operator in this line because stacks.length
ends up being zero.
Reproducing
- Use CraftTweaker to remove the iron bells from the
<ore:bellsIron>
oredict entry - Browse to the Jingle Dress recipe in the Totempedia
Crash
https://gist.github.com/codetaylor/c93a20f7d0a0e2c97106b9259c2a4886
Versions
Minecraft: 1.12.2
Forge: 14.23.4.2705
Totemic: 1.12.2-0.11.2
The crash can be avoided by changing the recipe and making sure that the new recipe has no empty oredict entries. Apart from that, I will probably not add CraftTweaker support in the 1.12 version.