aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/recipes
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2022-06-23 00:49:06 +0900
committerGitHub <noreply@github.com>2022-06-22 17:49:06 +0200
commitad14b7e78c9f9d6a21f99a25b2896f3749720d1b (patch)
treea5f655628b549c0ee0a9095653d4b733743dd7ca /src/main/java/gtPlusPlus/xmod/gregtech/recipes
parentde616090f8f6a523cb1a69806bcf06e93fd1fb7d (diff)
downloadGT5-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.java13
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);
+ }
}