From 73ca377dc01f859dabd7b07738cb7aeb762272b1 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Thu, 29 Jan 2015 18:28:37 +0000 Subject: Made lots of changes --- java/darkknight/jewelrycraft/container/GuiHandler.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/darkknight/jewelrycraft/container/GuiHandler.java') diff --git a/java/darkknight/jewelrycraft/container/GuiHandler.java b/java/darkknight/jewelrycraft/container/GuiHandler.java index cd9d72e..7773a38 100644 --- a/java/darkknight/jewelrycraft/container/GuiHandler.java +++ b/java/darkknight/jewelrycraft/container/GuiHandler.java @@ -7,6 +7,7 @@ import cpw.mods.fml.common.network.IGuiHandler; import cpw.mods.fml.common.network.NetworkRegistry; import darkknight.jewelrycraft.JewelrycraftMod; import darkknight.jewelrycraft.client.GuiGuide; +import darkknight.jewelrycraft.client.GuiJewelry; import darkknight.jewelrycraft.client.GuiRingChest; public class GuiHandler implements IGuiHandler @@ -25,6 +26,8 @@ public class GuiHandler implements IGuiHandler return new ContainerRingChest(player.inventory, (TileEntityChest) world.getTileEntity(x, y, z)); case 1: return new ContainerGuide(); + case 2: + return new ContainerJewelryTab(player, player.inventory); default: return null; } @@ -39,6 +42,8 @@ public class GuiHandler implements IGuiHandler return new GuiRingChest((ContainerRingChest) getServerGuiElement(ID, player, world, x, y, z)); case 1: return new GuiGuide((ContainerGuide) getServerGuiElement(ID, player, world, x, y, z), world); + case 2: + return new GuiJewelry(new ContainerJewelryTab(player, player.inventory)); default: return null; } -- cgit v1.2.3