Builder's Guides

Builder's Guides

830k Downloads

Openeye: Chunkmarker causing NPE

Ipsis opened this issue ยท 2 comments

commented

It looks like BlockPosition(NBTTagCompound tag) is being called with a null tag. There is a valid path from readFromNBT where we expect to find the chunk BlockPosition. However the TE exists with the chunk=null before the block is placed, where the chunk BlockPosition is calculated.

In other words dont assume that in readFromNBT that the chunk value is not null!

commented

Fixed by e5ccb9c.