Could not load the material of a block
ckissane opened this issue ยท 3 comments
On world reopen the materials aren't loaded and it results in black/purple checkered blocks.
I found a fix:
Insert:
@OverRide
public NBTTagCompound getUpdateTag(){
NBTTagCompound nbt = super.getUpdateTag();
if (materialId != null)
nbt.setString("material", materialId);
return nbt;
}
In TileMaterial class
I wonder why this is still open since the commit message should have closed the issue.
Github bug?