CC: Tweaked

CC: Tweaked

59M Downloads

Crash in Debug world

vico93 opened this issue ยท 0 comments

commented

Minecraft Version

1.21.x

Version

1.113.1

Details

For curiosity, i've created a test world in Debug world-type to check something about another mod's block, after flying for a while the game suddently crashed. When looking through the crash report i noticed it mentioned something related to CC:Tweaked and Lecterns. That's why i'm reporting it here.

MC 1.21.1

Crash report

java.lang.IllegalStateException: Cannot encode empty ItemStack
	at knot//MC//net.minecraft.item.ItemStack.encode(ItemStack.java:401)
	at knot//dan200.computercraft.shared.lectern.CustomLecternBlockEntity.toInitialChunkDataNbt(CustomLecternBlockEntity.java:124)
	at knot//MC//net.minecraft.network.packet.s2c.play.ChunkData$BlockEntityData.of(ChunkData.java:162)