Update GT_MetaTileEntity_LargeTurbine_Gas.java
This commit is contained in:
parent
7dc2fac9d5
commit
6d536a232a
1 changed files with 2 additions and 2 deletions
|
@ -114,9 +114,9 @@ public class GT_MetaTileEntity_LargeTurbine_Gas extends GT_MetaTileEntity_LargeT
|
||||||
if (efficiency < 0)
|
if (efficiency < 0)
|
||||||
efficiency = 0; // Can happen with really ludicrously poor inefficiency.
|
efficiency = 0; // Can happen with really ludicrously poor inefficiency.
|
||||||
tEU *= efficiency;
|
tEU *= efficiency;
|
||||||
tEU = Math.max(1, tEU * (aBaseEff / 10000));
|
tEU = Math.max(1, (int)((long)tEU * (long)aBaseEff / 10000L));
|
||||||
} else {
|
} else {
|
||||||
tEU = tEU * (aBaseEff / 10000);
|
tEU = (int)((long)tEU * (long)aBaseEff / 10000L);
|
||||||
}
|
}
|
||||||
|
|
||||||
return tEU;
|
return tEU;
|
||||||
|
|
Loading…
Reference in a new issue