mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +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
@@ -92,7 +92,7 @@ public class StencilTableGui extends GuiContainer
|
||||
ItemStack stack;
|
||||
if (logic.getStackInSlot(1) != null)
|
||||
{
|
||||
activeButton = StencilBuilder.getIndex(logic.getStackInSlot(1));
|
||||
activeButton = StencilBuilder.getId(logic.getStackInSlot(1));
|
||||
setActiveButton(activeButton);
|
||||
stack = StencilBuilder.getStencil(((GuiButtonStencil) this.buttonList.get(activeButton)).element.stencilIndex);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user