Barrel crash
Mrthomas20121 opened this issue ยท 5 comments
Describe the bug
Picking up barrel crash the game
To Reproduce
- you put a barrel in the world
- you add a copy to your hand with ctrl and the standard creative block picking method(usually mouse wheel).
- open your inventory
- get the cursor on the barrel you added to your hand
- it crash
Meta Info
- TFC Version: 0.27.7.107
https://paste.dimdev.org/ubujajafof.mccrash
Can you reproduce this with Forge build 2678? Could you please give a screenshot of the barrel right before the game crashes?
Problem is this line:
assumes a inventory of size 1, which will crash when generating the tooltip.
Edit: deserializeNBT()
calls to resize the stack handler, so this shouldn't be the problem. Potentially a broken item instance missing the Size
property? Otherwise I can't reproduce.