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 | |
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')
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java index 53068c68a1..f41efe602a 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java @@ -790,7 +790,7 @@ public abstract class GregtechMeta_MultiBlockBase extends GT_MetaTileEntity_Mult public static Method aLogger = null; public void log(String s) { - boolean reset = true; + boolean reset = false; if (reset || aLogger == null) { if (!AsmConfig.disableAllLogging) { aLogger = ReflectionUtils.getMethod( 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"); } } |