aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-10-07 14:21:43 +1000
committerAlkalus <draknyte1@hotmail.com>2017-10-07 14:21:43 +1000
commite267de811ccf98c7977244bad8e231b05c2cb0d4 (patch)
treed29a0ca8aa0cc764790e1e60f37f6dd5d0dcbc7b /src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity
parentd98e0b22cb0d7dbb7145cf0f751f6e4e44ed08d1 (diff)
downloadGT5-Unofficial-e267de811ccf98c7977244bad8e231b05c2cb0d4.tar.gz
GT5-Unofficial-e267de811ccf98c7977244bad8e231b05c2cb0d4.tar.bz2
GT5-Unofficial-e267de811ccf98c7977244bad8e231b05c2cb0d4.zip
+ Made Alloy Blast Smelter actually check for a muffler.
% Changed Industrial Electrolyzer controller texture. % Changed Large Sifter controller texture. $ Fixed names of custom IC2 cells. $ Fixed the empty item having an invalid texture.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java3
1 files changed, 3 insertions, 0 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 5949d008ff..738b14e3d7 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
@@ -1004,12 +1004,15 @@ public abstract class GregtechMeta_MultiBlockBase extends MetaTileEntity {
int tempTime = MathUtils.findPercentageOfInt(cloneRecipe.mDuration, (100-percentage));
cloneRecipe.mDuration = tempTime;
if (cloneRecipe.mDuration < originalTime){
+ Utils.LOG_INFO("Generated recipe with a smaller time. | "+originalTime+" | "+cloneRecipe.mDuration+" |");
return cloneRecipe;
}
else {
+ Utils.LOG_INFO("Did not generate recipe with a smaller time. | "+originalTime+" | "+cloneRecipe.mDuration+" |");
return tRecipe;
}
}
+ Utils.LOG_INFO("Error generating recipe, returning null.");
return null;