diff options
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"); } } |