Skip to content

Commit

Permalink
Make automated brewing of modded potions use the same fluid amount as…
Browse files Browse the repository at this point in the history
… vanilla recipes
  • Loading branch information
VoidLeech committed Dec 12, 2023
1 parent c707fbd commit aa479c5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ private static List<MixingRecipe> createRecipes() {
continue;
}
FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stacks[0]);
inputFluid.setAmount(1000);
if (outputFluid == null) {
outputFluid = PotionFluidHandler.getFluidFromPotionItem(output);
}
outputFluid.setAmount(1000);
mixingRecipes.add(createRecipe("potion_mixing_modded_" + recipeIndex++, ingredient, inputFluid, outputFluid));
}
}
Expand Down

0 comments on commit aa479c5

Please sign in to comment.