mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Change stencils to be identified by actual IDs because DAMN was that other stuff a pain to use if you wanted to identify one.
This commit is contained in:
1 parent
035cc454a5
commit
b9efa7373f
4 files changed
+44
-42
No files matched your search
@@ -345,16 +345,15 @@ public class ToolProxyClient extends ToolProxyCommon
|
||||
};
|
||||
|
||||
int i = 0;
|
||||
for (ItemStack stack : StencilBuilder.getStencils())
|
||||
for (int[] icon : icons)
|
||||
{
|
||||
// spacer
|
||||
while (icons[i].length == 0)
|
||||
if(icon.length == 0)
|
||||
{
|
||||
addStencilButton(0, 0, -1);
|
||||
i++;
|
||||
}
|
||||
addStencilButton(icons[i][0], icons[i][1], StencilBuilder.getIndex(stack));
|
||||
i++;
|
||||
else
|
||||
addStencilButton(icon[0], icon[1], i++);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user