summaryrefslogtreecommitdiff
path: root/src/main/java/gmail/Lance5057/proxy/CommonProxy.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gmail/Lance5057/proxy/CommonProxy.java')
-rw-r--r--src/main/java/gmail/Lance5057/proxy/CommonProxy.java14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/main/java/gmail/Lance5057/proxy/CommonProxy.java b/src/main/java/gmail/Lance5057/proxy/CommonProxy.java
index 2171029..69d30cc 100644
--- a/src/main/java/gmail/Lance5057/proxy/CommonProxy.java
+++ b/src/main/java/gmail/Lance5057/proxy/CommonProxy.java
@@ -1,9 +1,6 @@
package gmail.Lance5057.proxy;
import gmail.Lance5057.com.mod_TinkersDefense;
-import gmail.Lance5057.containers.Container_CrestMount;
-import gmail.Lance5057.gui.Gui_CrestMount;
-import gmail.Lance5057.tileentities.TileEntity_CrestMount;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
@@ -38,21 +35,20 @@ public class CommonProxy implements IGuiHandler {
if (ID == mod_TinkersDefense.GUI_ITEM_INV)
{
// Use the player's held item to create the inventory
- return new Container_CrestMount(player, player.inventory, new TileEntity_CrestMount());
+ //return new Container_CrestMount(player.inventory, new TileEntity_CrestMount());
}
return null;
}
@Override
public Object getClientGuiElement(int ID, EntityPlayer player,
- World world, int x, int y, int z)
- {
+ World world, int x, int y, int z) {
if (ID == mod_TinkersDefense.GUI_ITEM_INV)
{
// We have to cast the new container as our custom class
// and pass in currently held item for the inventory
- return new Gui_CrestMount((Container_CrestMount) new Container_CrestMount(player, player.inventory, new TileEntity_CrestMount()));
+ //return new Gui_CrestMount((Container_CrestMount) new Container_CrestMount(player.inventory, new TileEntity_CrestMount()));
}
return null;
- }
-} \ No newline at end of file
+ }
+ } \ No newline at end of file