diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2020-01-07 23:37:29 +0000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2020-01-07 23:37:29 +0000 |
commit | 66a364a57dc70198a1551e038e49e56c53091c1b (patch) | |
tree | b332f6cc00dcb5eaaa0e3530ef3defd02f95d0fd /src/Java/gtPlusPlus/xmod/gregtech/common | |
parent | 133c1c2efcb458bdc7aaf2e2bcb087c23fca3b7f (diff) | |
download | GT5-Unofficial-66a364a57dc70198a1551e038e49e56c53091c1b.tar.gz GT5-Unofficial-66a364a57dc70198a1551e038e49e56c53091c1b.tar.bz2 GT5-Unofficial-66a364a57dc70198a1551e038e49e56c53091c1b.zip |
$ Small fixes left over from mobile commits.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java index 81a25b3266..87f8d81bb2 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java @@ -999,9 +999,9 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase { if (aRecipeCatalyst.isItemEqual(aInput)) { if (aInput.stackSize == 1) { int damage = getDamage(aInput) + aMaxParrallel; - if (damage >getMaxCatalystDuarbilerty() ) { + if (damage > getMaxCatalystDurability() ) { aOutPut.add(aInput); - allowedParrallel += aMaxParrallel + (getMaxCatalystDuarbilerty() - damage); + allowedParrallel += aMaxParrallel + (getMaxCatalystDurability() - damage); if (allowedParrallel >aMaxParrallel ) { return aMaxParrallel; } @@ -1055,7 +1055,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase { setDamage(aStack,damage); } } - else + else { log("not consuming catalyst"); } } |