diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityGratedChute.java b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityGratedChute.java index 86af2dc5..b291ae72 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityGratedChute.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityGratedChute.java @@ -124,13 +124,15 @@ public class TileEntityGratedChute extends TileEntityImpl implements ITickable { @Override public void writeNBT(NBTTagCompound compound, SaveType type) { super.writeNBT(compound, type); - compound.setInteger("cooldown", this.cooldown); + if (type != SaveType.BLOCK) + compound.setInteger("cooldown", this.cooldown); } @Override public void readNBT(NBTTagCompound compound, SaveType type) { super.readNBT(compound, type); - this.cooldown = compound.getInteger("cooldown"); + if (type != SaveType.BLOCK) + this.cooldown = compound.getInteger("cooldown"); } @Override