Building Bricks

Building Bricks

610k Downloads

Could not load the material of a block

ckissane opened this issue ยท 3 comments

commented

On world reopen the materials aren't loaded and it results in black/purple checkered blocks.

commented

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

commented

I wonder why this is still open since the commit message should have closed the issue.

Github bug?

commented

It's because the commit wasn't in the HEAD branch.