aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMaxim <maxim235@gmx.de>2022-09-25 17:45:59 +0200
committerGitHub <noreply@github.com>2022-09-25 17:45:59 +0200
commit0963af491a15bd30ef445d29f9d65e7c4aa5390a (patch)
treeb1036ca75044e86315291d65bb3866bc32722184 /src/main
parent7d73ed7bdd2a1d33276ac0613dd94256f8d8e41f (diff)
downloadGT5-Unofficial-0963af491a15bd30ef445d29f9d65e7c4aa5390a.tar.gz
GT5-Unofficial-0963af491a15bd30ef445d29f9d65e7c4aa5390a.tar.bz2
GT5-Unofficial-0963af491a15bd30ef445d29f9d65e7c4aa5390a.zip
Revert "Decreased consumption by 20 since it uses the sec value per tick (#1408)" (#1410)
This reverts commit da0b22e96b959f9b79af7466f6dd319528b43b2c.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeTurbine_Plasma.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeTurbine_Plasma.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeTurbine_Plasma.java
index cdf09fa9bd..b90d876883 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeTurbine_Plasma.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeTurbine_Plasma.java
@@ -116,7 +116,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
int overflowMultiplier,
float[] flowMultipliers) {
if (aFluids.size() >= 1) {
- aOptFlow *= 40; // CHANGED THINGS HERE, check recipe runs once per 20 ticks
+ aOptFlow *= 800; // CHANGED THINGS HERE, check recipe runs once per 20 ticks
int tEU = 0;
int actualOptimalFlow = 0;
@@ -165,7 +165,7 @@ public class GT_MetaTileEntity_LargeTurbine_Plasma extends GT_MetaTileEntity_Lar
}
}
if (totalFlow <= 0) return 0;
- tEU = GT_Utility.safeInt((long) ((fuelValue) * (double) totalFlow));
+ tEU = GT_Utility.safeInt((long) ((fuelValue / 20D) * (double) totalFlow));
// GT_FML_LOGGER.info(totalFlow+" : "+fuelValue+" : "+aOptFlow+" : "+actualOptimalFlow+" : "+tEU);