diff options
| author | Lance5057 <Lance5057@gmail.com> | 2015-02-25 03:30:35 -0600 |
|---|---|---|
| committer | Lance5057 <Lance5057@gmail.com> | 2015-02-25 03:30:35 -0600 |
| commit | 44f9836bd1542e381f8fd0a57c76d7a4b2f0008a (patch) | |
| tree | a33601a9097e517a8eca3ff63ae4a9ddb8bccee8 /src/main/java/gmail/Lance5057/gui | |
| parent | 11e81b501260a94bff6dac0cc699f6928c8fbb52 (diff) | |
Crest Mount finally stores items properly!
Diffstat (limited to 'src/main/java/gmail/Lance5057/gui')
| -rw-r--r-- | src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java b/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java index 1ab1356..d7f6fad 100644 --- a/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java +++ b/src/main/java/gmail/Lance5057/gui/Gui_CrestMount.java @@ -11,6 +11,7 @@ import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.resources.I18n; import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.util.ResourceLocation; import org.lwjgl.opengl.GL11; @@ -30,10 +31,10 @@ private static final ResourceLocation iconLocation = new ResourceLocation("TileE /** The inventory to render on screen */ private final TileEntity_CrestMount inventory; -public Gui_CrestMount(Container_CrestMount Container_CrestMount) +public Gui_CrestMount(InventoryPlayer invPlayer, TileEntity_CrestMount te_crest) { -super(Container_CrestMount); -this.inventory = Container_CrestMount.inventory; +super(new Container_CrestMount(invPlayer, te_crest)); +this.inventory = te_crest; } /** |
