Skip to content

Commit

Permalink
fix json and fix 10461
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Nov 17, 2024
1 parent 20f049b commit b231f42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,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
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@
</box>
</list>

<list id="resourcesstock" size="164 180" pos="13 50">
<box size="100% 17" linewidth="1">
<gradient id="gradient" size="162 15" pos="1 1"/>
<itemicon id="resourceIcon" size="16 16" pos="0 0"/>
<label id="resourceName" size="100 12" pos="20 1" color="black"/>

<buttonimage label="X" id="removeStock" pos="126 1" size="29 15"
source="minecolonies:textures/gui/builderhut/builder_button_very_small.png" textcolor="red"/>
</box>
</list>

<image source="minecolonies:textures/gui/builderhut/builder_paper.png" size="190 244" pos="190 0"/>
<text id="desc" size="130 11" pos="220 14" color="black" textalign="MIDDLE" label="$(com.minecolonies.core.food_list.title)"/>
<input id="input" size="150 18" pos="210 28" maxlength="25"/>
Expand Down

0 comments on commit b231f42

Please sign in to comment.