If we're sending smeltery updates like that already, we might as well also send the status. Client should always be synchronized now.

This commit is contained in:
Bernhard Bonigl committed 2014-09-16 16:57:51 +02:00
1 parent 774328a1e6
commit c3d72efc81
1 file changed
+2 -2
@@ -1181,7 +1181,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
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 class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
{
super.writeToNBT(tags);
// tags.setBoolean("ValidStructure", validStructure);
tags.setBoolean("ValidStructure", validStructure);
tags.setInteger("InternalTemp", internalTemp);
tags.setBoolean("InUse", inUse);