aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2017-05-29 10:48:23 +0200
committerTechnus <daniel112092@gmail.com>2017-05-29 10:48:23 +0200
commit2c4a948a4938260fd1c2a393bf92b852c7a33e02 (patch)
treeb25867078d8c3abcc0b795778f59cecf6b543940 /src/main/java/gregtech
parentf9df88443f4f7b135b6e598f7b2c1172376401d1 (diff)
downloadGT5-Unofficial-2c4a948a4938260fd1c2a393bf92b852c7a33e02.tar.gz
GT5-Unofficial-2c4a948a4938260fd1c2a393bf92b852c7a33e02.tar.bz2
GT5-Unofficial-2c4a948a4938260fd1c2a393bf92b852c7a33e02.zip
Make the error more descriptive
Diffstat (limited to 'src/main/java/gregtech')
-rw-r--r--src/main/java/gregtech/common/GT_RecipeAdder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java
index 01cb7fddca..9a64b1f2e9 100644
--- a/src/main/java/gregtech/common/GT_RecipeAdder.java
+++ b/src/main/java/gregtech/common/GT_RecipeAdder.java
@@ -944,7 +944,9 @@ public class GT_RecipeAdder implements IGT_RecipeAdder {
return false;
}
for(ItemStack tItem : aInputs){
- if(tItem==null)System.out.println("addAssemblinglineRecipe"+aResearchItem.getDisplayName());
+ if(tItem==null){
+ System.out.println("addAssemblingLineRecipe "+aResearchItem.getDisplayName()+" --> "+aOutput.getUnlocalizedName()+" there is some null item in that recipe");
+ }
}
GT_Recipe.GT_Recipe_Map.sScannerFakeRecipes.addFakeRecipe(false, new ItemStack[]{aResearchItem}, new ItemStack[]{aOutput}, new ItemStack[]{ItemList.Tool_DataStick.getWithName(1L, "Writes Research result", new Object[0])}, null, null, aResearchTime, 30, 0);
GT_Recipe.GT_Recipe_Map.sAssemblylineVisualRecipes.addFakeRecipe(false, aInputs, new ItemStack[]{aOutput}, new ItemStack[]{ItemList.Tool_DataStick.getWithName(1L, "Reads Research result", new Object[0])}, aFluidInputs, null, aDuration, aEUt, 0,true);