mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed the no-update issues
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user