Skip to content

Commit

Permalink
fix 10461
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Nov 17, 2024
1 parent 553250e commit ab3503b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ else if (recipe.getInput().size() == 4)
}
else
{
for (int i = 0; i < recipe.getInput().size(); i++)
for (int i = 0; i < Math.min(9, recipe.getInput().size()); i++)
{
rowPane.findPaneOfTypeByID(String.format(RESOURCE, i + 1), ItemIcon.class).setItem(getStackWithCount(recipe.getInput().get(i)));
}
Expand Down

0 comments on commit ab3503b

Please sign in to comment.