diff options
author | miozune <miozune@gmail.com> | 2022-06-23 00:49:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 17:49:06 +0200 |
commit | ad14b7e78c9f9d6a21f99a25b2896f3749720d1b (patch) | |
tree | a5f655628b549c0ee0a9095653d4b733743dd7ca /src/main/java/gtPlusPlus/xmod/gregtech/recipes | |
parent | de616090f8f6a523cb1a69806bcf06e93fd1fb7d (diff) | |
download | GT5-Unofficial-ad14b7e78c9f9d6a21f99a25b2896f3749720d1b.tar.gz GT5-Unofficial-ad14b7e78c9f9d6a21f99a25b2896f3749720d1b.tar.bz2 GT5-Unofficial-ad14b7e78c9f9d6a21f99a25b2896f3749720d1b.zip |
Various fixes (#220)
* Various fixes
* Refactor
* remove unused imports
* derp
* fix
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/recipes')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java index 515ec180f1..75e48a0c00 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java @@ -1876,7 +1876,8 @@ public class GregtechRecipeAdder implements IGregtech_RecipeAdder { } - public boolean addMolecularTransformerRecipe(ItemStack aInput, ItemStack aOutput, int aDuration, int aEUt, int aAmps) { + @Override + public boolean addMolecularTransformerRecipe(ItemStack aInput, ItemStack aOutput, int aDuration, int aEUt) { if ((aInput == null) || (aOutput == null)) { return false; } @@ -1890,14 +1891,16 @@ public class GregtechRecipeAdder implements IGregtech_RecipeAdder { new FluidStack[] {}, aDuration, aEUt, - aAmps); + 0); int aSize = GTPP_Recipe_Map.sMolecularTransformerRecipes.mRecipeList.size(); GTPP_Recipe_Map.sMolecularTransformerRecipes.add(aRecipe); return GTPP_Recipe_Map.sMolecularTransformerRecipes.mRecipeList.size() > aSize; -} - - + } + @Override + public boolean addMolecularTransformerRecipe(ItemStack aInput, ItemStack aOutput, int aDuration, int aEUt, int aAmps) { + return addMolecularTransformerRecipe(aInput, aOutput, aDuration, aEUt); + } } |