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:
Bernhard Bonigl committed 2014-10-23 00:14:27 +02:00
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);
}