diff options
Diffstat (limited to 'src/main/java/gregtech/common/GT_RecipeAdder.java')
-rw-r--r-- | src/main/java/gregtech/common/GT_RecipeAdder.java | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/main/java/gregtech/common/GT_RecipeAdder.java b/src/main/java/gregtech/common/GT_RecipeAdder.java index 2d9cae7c0d..f5a783de65 100644 --- a/src/main/java/gregtech/common/GT_RecipeAdder.java +++ b/src/main/java/gregtech/common/GT_RecipeAdder.java @@ -102,9 +102,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder { int aDuration) { return addCentrifugeRecipe( aInput1, - aInput2 < 0 - ? ItemList.IC2_Fuel_Can_Empty.get(-aInput2, new Object[0]) - : aInput2 > 0 ? ItemList.Cell_Empty.get(aInput2, new Object[0]) : null, + aInput2 < 0 ? null : aInput2 > 0 ? ItemList.Cell_Empty.get(aInput2) : null, null, null, aOutput1, @@ -132,9 +130,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder { int aEUt) { return addCentrifugeRecipe( aInput1, - aInput2 < 0 - ? ItemList.IC2_Fuel_Can_Empty.get(-aInput2, new Object[0]) - : aInput2 > 0 ? ItemList.Cell_Empty.get(aInput2, new Object[0]) : null, + aInput2 < 0 ? null : aInput2 > 0 ? ItemList.Cell_Empty.get(aInput2) : null, null, null, aOutput1, @@ -293,9 +289,7 @@ public class GT_RecipeAdder implements IGT_RecipeAdder { int aEUt) { return addElectrolyzerRecipe( aInput1, - aInput2 < 0 - ? ItemList.IC2_Fuel_Can_Empty.get(-aInput2, new Object[0]) - : aInput2 > 0 ? ItemList.Cell_Empty.get(aInput2, new Object[0]) : null, + aInput2 < 0 ? null : aInput2 > 0 ? ItemList.Cell_Empty.get(aInput2) : null, null, null, aOutput1, |