aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-07-25 06:12:21 +0900
committerGitHub <noreply@github.com>2023-07-24 23:12:21 +0200
commit13b2b3f90b690f7f58659df41bc1186679f8b351 (patch)
treea50f173f54e9b2addf36afdd760552f561401191 /src/main/java/gtPlusPlus/xmod/gregtech/common
parenta0c24b2ec4fc7371248b501f520e71e21f9d529b (diff)
downloadGT5-Unofficial-13b2b3f90b690f7f58659df41bc1186679f8b351.tar.gz
GT5-Unofficial-13b2b3f90b690f7f58659df41bc1186679f8b351.tar.bz2
GT5-Unofficial-13b2b3f90b690f7f58659df41bc1186679f8b351.zip
Fix findRecipe for Elemental Duplicator (#704)
* Remove outdated script * updateBuildScript * Update GT * Remove unused methods * Fix findRecipe for Elemental Duplicator
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_ElementalDuplicator.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_ElementalDuplicator.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_ElementalDuplicator.java
index 4f5a9ce341..c4926f5fc7 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_ElementalDuplicator.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_ElementalDuplicator.java
@@ -395,7 +395,6 @@ public class GregtechMTE_ElementalDuplicator extends GregtechMeta_MultiBlockBase
* @param aInputs the Item Inputs
* @return the Recipe it has found or null for no matching Recipe
*/
- @Override
public GT_Recipe findRecipe(IHasWorldObjectAndCoords aTileEntity, GT_Recipe aRecipe, boolean aNotUnificated,
boolean aDontCheckStackSizes, long aVoltage, FluidStack[] aFluids, ItemStack aSpecialSlot,
ItemStack... aInputs) {
@@ -475,7 +474,7 @@ public class GregtechMTE_ElementalDuplicator extends GregtechMeta_MultiBlockBase
// too.
if (mRecipeMap.mMinimalInputItems == 0 && aFluids != null)
for (FluidStack aFluid : aFluids) if (aFluid != null) {
- Collection<GT_Recipe> tRecipes = mRecipeMap.mRecipeFluidMap.get(aFluid.getFluid());
+ Collection<GT_Recipe> tRecipes = mRecipeMap.mRecipeFluidMap.get(aFluid.getFluid().getName());
if (tRecipes != null) for (GT_Recipe tRecipe : tRecipes) {
if (!tRecipe.mFakeRecipe
&& tRecipe.isRecipeInputEqual(false, aDontCheckStackSizes, aFluids, aInputs)) {