diff options
| author | miozune <miozune@gmail.com> | 2024-09-09 09:21:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 02:21:25 +0200 |
| commit | c43cdd94e65c6e19d8380d1b2c87ce19d5d49011 (patch) | |
| tree | 67e104846c6122fdc2eaf2dcc29717facd6a51df /src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines | |
| parent | b15f89a14827bdb621d45745d165e1caf4265fef (diff) | |
| download | GT5-Unofficial-c43cdd94e65c6e19d8380d1b2c87ce19d5d49011.tar.gz GT5-Unofficial-c43cdd94e65c6e19d8380d1b2c87ce19d5d49011.tar.bz2 GT5-Unofficial-c43cdd94e65c6e19d8380d1b2c87ce19d5d49011.zip | |
Remove findRecipe methods (#3084)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: boubou19 <miisterunknown@gmail.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines')
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTESpargeTower.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTESpargeTower.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTESpargeTower.java index d78bbc0e45..e401e907bb 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTESpargeTower.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/MTESpargeTower.java @@ -202,7 +202,10 @@ public class MTESpargeTower extends GTPPMultiBlockBase<MTESpargeTower> implement byte tTier = (byte) Math.max(0, GTUtility.getTier(tVoltage)); FluidStack[] tFluids = tFluidList.toArray(new FluidStack[0]); if (tFluids.length > 0) { - GTRecipe tRecipe = getRecipeMap().findRecipe(getBaseMetaTileEntity(), false, GTValues.V[tTier], tFluids); + GTRecipe tRecipe = getRecipeMap().findRecipeQuery() + .fluids(tFluids) + .voltage(GTValues.V[tTier]) + .find(); if (tRecipe != null) { FluidStack[] possibleOutputs = getPossibleByproductsOfSparge( tRecipe.mFluidInputs[0], |
