mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Minor cleanup
This commit is contained in:
1 parent
c1f5b65cf5
commit
aa103e28da
1 file changed
+6
-2
@@ -194,9 +194,13 @@ public class MetallurgicInfuserRecipeHandler extends BaseRecipeHandler
|
||||
{
|
||||
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)) {
|
||||
|
||||
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));
|
||||
|
||||
Reference in new issue
Block a user