Merge branch 'master' into development
This commit is contained in:
commit
c1f5b65cf5
1 changed files with 8 additions and 0 deletions
|
@ -194,6 +194,14 @@ public class MetallurgicInfuserRecipeHandler extends BaseRecipeHandler
|
||||||
{
|
{
|
||||||
arecipes.add(new CachedIORecipe(irecipe, getInfuseStacks(((InfusionInput)irecipe.getKey()).infusionType), ((InfusionInput)irecipe.getKey()).infusionType));
|
arecipes.add(new CachedIORecipe(irecipe, getInfuseStacks(((InfusionInput)irecipe.getKey()).infusionType), ((InfusionInput)irecipe.getKey()).infusionType));
|
||||||
}
|
}
|
||||||
|
List<ItemStack> infuses;
|
||||||
|
for(ItemStack stack : getInfuseStacks(((InfusionInput)irecipe.getKey()).infusionType)) {
|
||||||
|
if(NEIServerUtils.areStacksSameTypeCrafting(stack, ingredient)) {
|
||||||
|
infuses = new ArrayList<ItemStack>();
|
||||||
|
infuses.add(stack);
|
||||||
|
arecipes.add(new CachedIORecipe(irecipe, infuses, ((InfusionInput)irecipe.getKey()).infusionType));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue