Spectator crashes when IInventory item is null
baileyholl opened this issue ยท 0 comments
Version Information
Botania version: Found in both 1.15 and 1.16 latest
Further Information
Link to crash log: https://pastebin.com/SMhcAWys
Steps to reproduce:
- Equip Spectator
- Observe a block whose stack has been set to null while looking at it.
I have had issues reported related to my mod causing this crash, as the tile was incorrectly setting an item to null instead of an empty itemstack. While I have fixed my own block, it looks like there might need to be another check to stop crashes from bad mod authors like me in the future.