aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-08-23 15:41:22 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-08-23 15:41:22 +1000
commit5fc4bb0b2c75e156fc1ab896b6a4fbd0dd7ec747 (patch)
tree7ae1c060e92d8bd96c971498b9b61d2236c48b44 /src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
parent7916998ff880b0f6440c5c5f042e7eab240047a2 (diff)
downloadGT5-Unofficial-5fc4bb0b2c75e156fc1ab896b6a4fbd0dd7ec747.tar.gz
GT5-Unofficial-5fc4bb0b2c75e156fc1ab896b6a4fbd0dd7ec747.tar.bz2
GT5-Unofficial-5fc4bb0b2c75e156fc1ab896b6a4fbd0dd7ec747.zip
% Logging clean-up for turbine removals.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java b/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
index 4a30c691b0..b818abdd21 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
@@ -105,13 +105,13 @@ public class HANDLER_GT {
Collection<GT_Recipe> aAssRecipes = GT_Recipe.GT_Recipe_Map.sAssemblerRecipes.mRecipeList;
//170, 172, 174, 176
- if (aAssRecipes.size() > 0) {
+ if (aAssRecipes.size() > 0 && (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK || CORE.GTNH)) {
recipe: for (GT_Recipe aG : aAssRecipes) {
if (aG.mOutputs != null && aG.mOutputs.length > 0) {
outputs: for (ItemStack aI : aG.mOutputs) {
if (aI.getItem() instanceof GT_MetaGenerated_Tool_01) {
int aMeta = aI.getItemDamage();
- Logger.INFO("Found assembler recipe outputting a GT Tool with a meta value of "+aMeta);
+ //Logger.INFO("Found assembler recipe outputting a GT Tool with a meta value of "+aMeta);
if (aMeta >= 170 && aMeta <= 176) {
//Found a Turbine
int aCutoff = aMeta == 170 ? 75000 : (aMeta == 172 ? 150000 : (aMeta == 174 ? 225000 : 300000));
@@ -119,9 +119,9 @@ public class HANDLER_GT {
Materials aMainMaterial = GT_MetaGenerated_Tool.getPrimaryMaterial(aI);
Materials aSecondaryMaterial = GT_MetaGenerated_Tool.getSecondaryMaterial(aI);
long rotorDurabilityMax = GT_MetaGenerated_Tool.getToolMaxDamage(aI);
- Logger.INFO("Found "+aType+"Turbine made out of "+getMaterialName(aMainMaterial)+", using "+getMaterialName(aSecondaryMaterial));
+ //Logger.INFO("Found "+aType+"Turbine made out of "+getMaterialName(aMainMaterial)+", using "+getMaterialName(aSecondaryMaterial));
if (rotorDurabilityMax < aCutoff) {
- Logger.INFO("Disabled this recipe as "+rotorDurabilityMax+" is below the cutoff durability of "+aCutoff+" for "+aType+"Turbines.");
+ Logger.INFO("[Turbine Cleanup]"+getMaterialName(aMainMaterial)+" "+aType+"Turbines have "+rotorDurabilityMax+", which is below the cutoff durability of "+aCutoff+", disabling.");
aG.mEnabled = false;
aG.mHidden = true;
aG.mCanBeBuffered = false;