Skip to content

Commit

Permalink
If we're sending smeltery updates like that already, we might as well…
Browse files Browse the repository at this point in the history
… also send the status. Client should always be synchronized now.
  • Loading branch information
bonii-xx committed Sep 16, 2014
1 parent 774328a commit c3d72ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java
Expand Up @@ -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");

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit c3d72ef

Please sign in to comment.