diff options
| author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2021-12-07 20:00:42 +0000 |
|---|---|---|
| committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2021-12-07 20:00:42 +0000 |
| commit | 34ae5537683e986c5bf31c6889cd45b050836815 (patch) | |
| tree | c44afd8b5953e35603313854c4eeb07fdbbcf629 /src/Java/gtPlusPlus/xmod/gregtech/recipes | |
| parent | f59af4cca6ba29e355f4ebde31f4ae16131f4230 (diff) | |
| download | GT5-Unofficial-34ae5537683e986c5bf31c6889cd45b050836815.tar.gz GT5-Unofficial-34ae5537683e986c5bf31c6889cd45b050836815.tar.bz2 GT5-Unofficial-34ae5537683e986c5bf31c6889cd45b050836815.zip | |
More Nuclear Fuel recipe work.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/recipes')
| -rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java b/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java index f31d103cf3..e85371c146 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java @@ -1790,7 +1790,14 @@ public class GregtechRecipeAdder implements IGregtech_RecipeAdder { } - + @Override + public boolean addFluidHeaterRecipe(ItemStack aInput, FluidStack aFluidInput, FluidStack aOutput, int aDuration, int aEUt) { + if ((aInput == null && aFluidInput == null) || (aOutput == null)) { + return false; + } + GT_Recipe.GT_Recipe_Map.sFluidHeaterRecipes.addRecipe(true, new ItemStack[]{aInput}, null, null, new FluidStack[]{aFluidInput}, new FluidStack[]{aOutput}, aDuration, aEUt, 0); + return true; + } |
