Fixed the no-update issues

This commit is contained in:
Aidan C. Brady committed 2014-08-08 22:08:55 -04:00
1 parent a0b8ab0331
commit ed919fa19a
5 files changed
+46 -18

No files matched your search

@@ -165,6 +165,9 @@ public class TileEntitySalinationController extends TileEntitySalinationTank imp
temperature = Math.min(getMaxTemperature(), getTemperature());
}
else {
clearStructure();
}
}
}
}
@@ -379,15 +382,7 @@ public class TileEntitySalinationController extends TileEntitySalinationTank imp
structured = scanTopLayer(startPoint);
height = structured ? height : 0;
worldObj.notifyBlocksOfNeighborChange(xCoord, yCoord, zCoord, getBlockType());
for(TileEntitySalinationTank tank : tankParts)
{
if(tank != this && tank instanceof TileEntitySalinationValve)
{
worldObj.notifyBlocksOfNeighborChange(tank.xCoord, tank.yCoord, tank.zCoord, tank.getBlockType());
}
}
markDirty();
return structured;
}