aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2022-08-29 16:54:40 +0800
committerGitHub <noreply@github.com>2022-08-29 10:54:40 +0200
commit5267969156d30b4bb5f4cb2279ebb49db6bd40e2 (patch)
treec4153ede6b3623fc44d5af3d11cc9d39a5004c95 /src/main/java/gtPlusPlus/xmod/gregtech
parent2d451a552eb4d50ee20a1a1a37928bd8ac559ab7 (diff)
downloadGT5-Unofficial-5267969156d30b4bb5f4cb2279ebb49db6bd40e2.tar.gz
GT5-Unofficial-5267969156d30b4bb5f4cb2279ebb49db6bd40e2.tar.bz2
GT5-Unofficial-5267969156d30b4bb5f4cb2279ebb49db6bd40e2.zip
fix chemical plant consuming catalyst even with awakened draconium coil (#316)
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.java2
1 files changed, 1 insertions, 1 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 ffcc144046..77916eb9f4 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
@@ -931,7 +931,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt
private void damageCatalyst(ItemStack aStack, int parallelRecipes) {
for (int i=0; i<parallelRecipes; i++){
// Awakened Draconium Coils with Tungstensteel Pipe Casings (or above) no longer consume catalysts.
- if (this.mCoilTier >= 11 && this.mPipeCasingTier >= 4) {
+ if (this.mCoilTier >= 10 && this.mPipeCasingTier >= 4) {
log("not consuming catalyst");
}
else if (MathUtils.randFloat(0, 10000000)/10000000f < (1.2f - (0.2 * this.mPipeCasingTier))) {