mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 06:24:37 +00:00
Update smeltery construction clientside too to get unsynchronized data when construction is in flux.
This commit is contained in:
1 parent
4a9c383dd8
commit
183c68c060
1 file changed
+3
-2
@@ -641,7 +641,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
{
|
||||
boolean foundTank = false;
|
||||
int iter = 0;
|
||||
while (!foundTank)
|
||||
while (!foundTank && iter < lavaTanks.size())
|
||||
{
|
||||
CoordTuple possibleTank = lavaTanks.get(iter);
|
||||
TileEntity newTankContainer = worldObj.getTileEntity(possibleTank.x, possibleTank.y, possibleTank.z);
|
||||
@@ -1191,7 +1191,8 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
inventory = new ItemStack[maxBlockCapacity];
|
||||
super.readFromNBT(tags);
|
||||
|
||||
validStructure = tags.getBoolean("ValidStructure");
|
||||
if(!tags.getBoolean("ValidStructure"))
|
||||
validStructure = false; // only negative update because we want to do a clientside structure check too
|
||||
internalTemp = tags.getInteger("InternalTemp");
|
||||
inUse = tags.getBoolean("InUse");
|
||||
|
||||
|
||||
Reference in new issue
Block a user