Steam Turbine fixes
Removed requirement for getAverage()
This commit is contained in:
parent
e41504b920
commit
b0e064bf28
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ public class GT_MetaTileEntity_LargeTurbine_Steam extends GT_MetaTileEntity_Larg
|
|||
}
|
||||
|
||||
tEU = (int) (Math.min((float) aOptFlow, totalFlow));
|
||||
addOutput(GT_ModHandler.getDistilledWater(useWater(totalFlow / 160.0f)));
|
||||
int waterToOutput = useWater(totalFlow / 160.0f);
|
||||
addOutput(GT_ModHandler.getDistilledWater(waterToOutput));
|
||||
if (totalFlow > 0 && totalFlow != aOptFlow) {
|
||||
float efficiency = 1.0f - Math.abs(((totalFlow - (float) aOptFlow) / aOptFlow));
|
||||
tEU *= efficiency;
|
||||
|
|
Loading…
Reference in a new issue