diff --git a/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeBoiler.java b/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeBoiler.java index 93d8e260..df129f8f 100644 --- a/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeBoiler.java +++ b/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeBoiler.java @@ -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 - */ \ No newline at end of file + + +/* 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 + + */