aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
authorchochem <40274384+chochem@users.noreply.github.com>2024-04-07 13:50:44 +0100
committerGitHub <noreply@github.com>2024-04-07 13:50:44 +0100
commit3b53231d0ed59e59a0a022a5cda6142beca4941d (patch)
tree63721cc9c2501480dcd52c4ef769946b6ec6ea60 /src/main/java/gtPlusPlus/xmod/gregtech
parent04c3b1abf0fbb2ecceb529af54fbce08306de485 (diff)
downloadGT5-Unofficial-3b53231d0ed59e59a0a022a5cda6142beca4941d.tar.gz
GT5-Unofficial-3b53231d0ed59e59a0a022a5cda6142beca4941d.tar.bz2
GT5-Unofficial-3b53231d0ed59e59a0a022a5cda6142beca4941d.zip
Fix the speed of the chemplant (again) (#864)
* fix speed bonus * simplify as requested
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
index 9df9c0086f..6471a5e262 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
@@ -509,11 +509,6 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
return false;
}
- // Same speed bonus as pyro oven
- public int getSpeedBonus() {
- return 50 * (this.mCoilTier + 1);
- }
-
public int getMaxCatalystDurability() {
return 50;
}
@@ -607,7 +602,8 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
@Override
protected void setupProcessingLogic(ProcessingLogic logic) {
super.setupProcessingLogic(logic);
- logic.setSpeedBonus(100F / (100F + getSpeedBonus()));
+ // Same speed bonus as pyro oven
+ logic.setSpeedBonus(2F / (1 + this.mCoilTier));
}
@Override