Merge branch 'development' into 1.8.9

This commit is contained in:
Ben Spiers committed 2016-04-25 16:08:06 +01:00
commit 0cb18773aa
1288 files changed
+11316 -7212

No files matched your search

@@ -66,6 +66,7 @@ public class BoilerUpdateProtocol extends UpdateProtocol<SynchronizedBoilerData>
}
else if(tile instanceof TileEntitySuperheatingElement)
{
structure.internalLocations.add(coord);
elements.add(coord);
}
}
@@ -225,6 +226,8 @@ public class BoilerUpdateProtocol extends UpdateProtocol<SynchronizedBoilerData>
@Override
protected void onFormed()
{
super.onFormed();
if((structureFound).waterStored != null)
{
(structureFound).waterStored.amount = Math.min((structureFound).waterStored.amount, structureFound.waterVolume*WATER_PER_TANK);