Large Boilers now accept distilled water (w/o exploding)

This commit is contained in:
pyure 2015-09-28 18:55:23 -04:00
parent 4d9fd9fb86
commit fe24c662b2

View file

@ -141,7 +141,8 @@ public abstract class GT_MetaTileEntity_LargeBoiler
{
int tGeneratedEU = (int)(this.mEUt * 2L * this.mEfficiency / 10000L);
if (tGeneratedEU > 0) {
if (depleteInput(Materials.Water.getFluid((tGeneratedEU + 160) / 160))) {
long amount = (tGeneratedEU + 160) / 160;
if (depleteInput(Materials.Water.getFluid(amount)) || depleteInput(GT_ModHandler.getDistilledWater(amount))) {
addOutput(GT_ModHandler.getSteam(tGeneratedEU));
} else {
explodeMultiblock();
@ -257,8 +258,12 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
}
}
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
* Qualified Name: gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeBoiler
* JD-Core Version: 0.7.0.1
*/
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
* Qualified Name: gregtech.common.tileentities.machines.multi.GT_MetaTileEntity_LargeBoiler
* JD-Core Version: 0.7.0.1
*/