Botania

Botania

133M Downloads

Spectator crashes when IInventory item is null

baileyholl opened this issue ยท 0 comments

commented

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:

  1. Equip Spectator
  2. 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.