From c3d72efc814472a3cd771d4e14df79d0db397642 Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Tue, 16 Sep 2014 16:50:09 +0200 Subject: [PATCH] If we're sending smeltery updates like that already, we might as well also send the status. Client should always be synchronized now. --- src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java index 9b2a6412249..5a0d5087d33 100644 --- a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java +++ b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java @@ -1181,7 +1181,7 @@ public void readFromNBT (NBTTagCompound tags) inventory = new ItemStack[maxBlockCapacity]; super.readFromNBT(tags); - // validStructure = tags.getBoolean("ValidStructure"); + validStructure = tags.getBoolean("ValidStructure"); internalTemp = tags.getInteger("InternalTemp"); inUse = tags.getBoolean("InUse"); @@ -1211,7 +1211,7 @@ public void writeToNBT (NBTTagCompound tags) { super.writeToNBT(tags); - // tags.setBoolean("ValidStructure", validStructure); + tags.setBoolean("ValidStructure", validStructure); tags.setInteger("InternalTemp", internalTemp); tags.setBoolean("InUse", inUse);