From 1a4337307986ff30a0ce6a28f0a32b3fe3796ad2 Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Tue, 26 Jun 2018 19:41:28 +1000 Subject: $ Fixed canning/extraction recipe generation not working correctly. Fixes #317. --- src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_FluidCanning.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_FluidCanning.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_FluidCanning.java index e803b29d1c..7bc0eacd4f 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_FluidCanning.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_FluidCanning.java @@ -37,7 +37,7 @@ public class RecipeGen_FluidCanning extends RecipeGen_Base { //Used to store Fluid extraction state if (this.disableOptional) { GT_Values.RA.addFluidExtractionRecipe( - recipe.mInputs.length == 1 ? recipe.mInputs[0] : null, //Input + recipe.mInputs.length >= 1 ? recipe.mInputs[0] : null, //Input recipe.mInputs.length == 2 ? recipe.mInputs[1] : null, //Input 2 recipe.mFluidOutputs.length == 1 ? recipe.mFluidOutputs[0] : null, //Fluid Output recipe.mSpecialValue, //Chance -- cgit