mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-01 05:14:43 +01:00
Make automated brewing of modded potions use the same fluid amount as vanilla recipes
This commit is contained in:
parent
c707fbd448
commit
aa479c56fe
1 changed files with 2 additions and 0 deletions
|
@ -102,9 +102,11 @@ public class PotionMixingRecipes {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stacks[0]);
|
FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stacks[0]);
|
||||||
|
inputFluid.setAmount(1000);
|
||||||
if (outputFluid == null) {
|
if (outputFluid == null) {
|
||||||
outputFluid = PotionFluidHandler.getFluidFromPotionItem(output);
|
outputFluid = PotionFluidHandler.getFluidFromPotionItem(output);
|
||||||
}
|
}
|
||||||
|
outputFluid.setAmount(1000);
|
||||||
mixingRecipes.add(createRecipe("potion_mixing_modded_" + recipeIndex++, ingredient, inputFluid, outputFluid));
|
mixingRecipes.add(createRecipe("potion_mixing_modded_" + recipeIndex++, ingredient, inputFluid, outputFluid));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue