aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util
diff options
context:
space:
mode:
authorbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2018-09-08 00:39:04 +0200
committerbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2018-09-08 00:39:04 +0200
commitb7c66bf2094dd2f03d92919c18fec9dfb04264e6 (patch)
treea767c60069d7a517b09833c896cc2de849e46498 /src/main/java/gregtech/api/util
parent65d3cf01f28a275d186d34f5771e2ec72ccd975d (diff)
downloadGT5-Unofficial-b7c66bf2094dd2f03d92919c18fec9dfb04264e6.tar.gz
GT5-Unofficial-b7c66bf2094dd2f03d92919c18fec9dfb04264e6.tar.bz2
GT5-Unofficial-b7c66bf2094dd2f03d92919c18fec9dfb04264e6.zip
Various fixes
+Added GT-FML-Log +Added an Exception if a Nq reactor without recipe map is created +Added the ability to add ReinforcedGlass in the CleanroomWalls (https://github.com/GTNewHorizons/NewHorizons/issues/3584) +Added a config option for changing the ReinforcedGlass percentage +Renamed Materials2 -> GTNH_ExtraMaterials and fixed it
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r--src/main/java/gregtech/api/util/GT_ModHandler.java2
-rw-r--r--src/main/java/gregtech/api/util/GT_Utility.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/util/GT_ModHandler.java b/src/main/java/gregtech/api/util/GT_ModHandler.java
index 6cfd539c68..8a1519234c 100644
--- a/src/main/java/gregtech/api/util/GT_ModHandler.java
+++ b/src/main/java/gregtech/api/util/GT_ModHandler.java
@@ -699,7 +699,7 @@ public class GT_ModHandler {
break;
}
}catch(Exception e){System.err.println(e);}
- //System.out.println("#####Processed IC2 " + aGTRecipeMap.mUnlocalizedName + " Recipe: In(" + tStack.getUnlocalizedName() + ") - Out(" + ((RecipeOutput) tRecipe.getValue()).items.get(0).getUnlocalizedName() + ")");
+ //GT_FML_LOGGER.info("#####Processed IC2 " + aGTRecipeMap.mUnlocalizedName + " Recipe: In(" + tStack.getUnlocalizedName() + ") - Out(" + ((RecipeOutput) tRecipe.getValue()).items.get(0).getUnlocalizedName() + ")");
}
if (aRemoveIC2Recipe) aRecipesToRemove.put(tStack, ((RecipeOutput) tRecipe.getValue()).items.get(0));
}
diff --git a/src/main/java/gregtech/api/util/GT_Utility.java b/src/main/java/gregtech/api/util/GT_Utility.java
index 4a2fa78a62..824f952b85 100644
--- a/src/main/java/gregtech/api/util/GT_Utility.java
+++ b/src/main/java/gregtech/api/util/GT_Utility.java
@@ -77,6 +77,7 @@ import java.text.NumberFormat;
import java.util.*;
import java.util.Map.Entry;
+import static gregtech.GT_Mod.GT_FML_LOGGER;
import static gregtech.api.enums.GT_Values.*;
import static gregtech.common.GT_Proxy.GTPOLLUTION;
import static gregtech.common.GT_UndergroundOil.undergroundOilReadInformation;
@@ -888,7 +889,7 @@ public class GT_Utility {
ItemData tOreName = GT_OreDictUnificator.getAssociation(aInput);
for (int i = 0; i < aOutput.length; i++) {
if (aOutput[i] == null) {
- System.out.println("EmptyIC2Output!" + aInput.getUnlocalizedName());
+ GT_FML_LOGGER.info("EmptyIC2Output!" + aInput.getUnlocalizedName());
return false;
}
}