mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-27 21:38:05 +01:00
Fix modded potion recipes using uncraftable potion in automated brewing
This commit is contained in:
parent
2201d87da7
commit
c707fbd448
1 changed files with 5 additions and 1 deletions
|
@ -97,7 +97,11 @@ public class PotionMixingRecipes {
|
||||||
FluidStack outputFluid = null;
|
FluidStack outputFluid = null;
|
||||||
for (ItemStack stack : supportedContainerStacks) {
|
for (ItemStack stack : supportedContainerStacks) {
|
||||||
if (input.test(stack)) {
|
if (input.test(stack)) {
|
||||||
FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stack);
|
ItemStack[] stacks = input.getItems();
|
||||||
|
if (stacks.length == 0){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stacks[0]);
|
||||||
if (outputFluid == null) {
|
if (outputFluid == null) {
|
||||||
outputFluid = PotionFluidHandler.getFluidFromPotionItem(output);
|
outputFluid = PotionFluidHandler.getFluidFromPotionItem(output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue