Fix Output Fluid in AdvancedDistillationCategory

For some reason every fluid output was using the amount of the first output. 
This fixes that. @DrMango14 you better merge this or I'll take your liver.
This commit is contained in:
PouffyDev
2024-08-28 20:44:58 +01:00
committed by GitHub
parent f54098ff8d
commit 04a6888472

View File

@@ -51,7 +51,7 @@ public class AdvancedDistillationCategory extends CreateRecipeCategory<Distillat
.addSlot(RecipeIngredientRole.OUTPUT, 105, y)
.setBackground(getRenderedSlot(), -1, -1)
.addIngredient(ForgeTypes.FLUID_STACK, withImprovedVisibility(recipe.getFluidResults().get(i)))
.addTooltipCallback(addFluidTooltip(recipe.getFirstFluidResult().getAmount()));
.addTooltipCallback(addFluidTooltip(recipe.getFluidResults().get(i).getAmount()));
}
}