aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util
diff options
context:
space:
mode:
authorTechlone <techlone.mc@gmail.com>2017-06-01 00:02:13 +0500
committerTechlone <techlone.mc@gmail.com>2017-06-01 00:02:13 +0500
commit19f70748971c556fa4d1d0dbd930e8d90b413c47 (patch)
tree51f946bb290a4b8ce448f04f6cbc48d830420950 /src/main/java/gregtech/api/util
parentb187410005771f1762f3bb5c94c0c5cd26dd06db (diff)
parentf19e920925aa5c85ec32e7e4b6e17588528eb3e3 (diff)
downloadGT5-Unofficial-19f70748971c556fa4d1d0dbd930e8d90b413c47.tar.gz
GT5-Unofficial-19f70748971c556fa4d1d0dbd930e8d90b413c47.tar.bz2
GT5-Unofficial-19f70748971c556fa4d1d0dbd930e8d90b413c47.zip
Merge branch 'unstable' into advminer2_improvements
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r--src/main/java/gregtech/api/util/GT_ModHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/util/GT_ModHandler.java b/src/main/java/gregtech/api/util/GT_ModHandler.java
index 62c8714807..daa1b67069 100644
--- a/src/main/java/gregtech/api/util/GT_ModHandler.java
+++ b/src/main/java/gregtech/api/util/GT_ModHandler.java
@@ -682,8 +682,8 @@ public class GT_ModHandler {
for (ItemStack tStack : ((IRecipeInput) tRecipe.getKey()).getInputs()) {
if (GT_Utility.isStackValid(tStack)) {
if (aAddGTRecipe && (aGTRecipeMap.findRecipe(null, false, Long.MAX_VALUE, null, tStack) == null)) {
+ try{
if (aExcludeGTIC2Items && ((tStack.getUnlocalizedName().contains("gt.metaitem.01") || tStack.getUnlocalizedName().contains("gt.blockores") || tStack.getUnlocalizedName().contains("ic2.itemCrushed") || tStack.getUnlocalizedName().contains("ic2.itemPurifiedCrushed")))) continue;
- try{
switch (aGTRecipeMap.mUnlocalizedName) {
case "gt.recipe.macerator":
aGTRecipeMap.addRecipe(true, new ItemStack[]{GT_Utility.copyAmount(((IRecipeInput) tRecipe.getKey()).getAmount(), tStack)}, (ItemStack[]) ((RecipeOutput) tRecipe.getValue()).items.toArray(), null, null, null, null, 300, 2, 0);