Fix spectral block NBT writing
This commit is contained in:
parent
99d6dfc513
commit
0d70eb359e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class TileSpectralBlock extends TileEntity implements ITickable
|
|||
{
|
||||
super.writeToNBT(tagCompound);
|
||||
tagCompound.setInteger(Constants.NBT.TICKS_REMAINING, ticksRemaining);
|
||||
tagCompound.setString(Constants.NBT.CONTAINED_BLOCK_NAME, containedBlockName);
|
||||
tagCompound.setString(Constants.NBT.CONTAINED_BLOCK_NAME, Strings.isNullOrEmpty(containedBlockName) ? "" : containedBlockName);
|
||||
tagCompound.setInteger(Constants.NBT.CONTAINED_BLOCK_META, containedBlockMeta);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue