From 021d97d33304de183cc6f30bd3cb3905f0835c29 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 3 Sep 2013 15:52:03 -0400 Subject: [PATCH] Fix for updated MCP names --- IronChests2/common/cpw/mods/ironchest/client/GUIChest.java | 2 +- .../cpw/mods/ironchest/client/TileEntityIronChestRenderer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IronChests2/common/cpw/mods/ironchest/client/GUIChest.java b/IronChests2/common/cpw/mods/ironchest/client/GUIChest.java index 4d3ea9d..316a146 100644 --- a/IronChests2/common/cpw/mods/ironchest/client/GUIChest.java +++ b/IronChests2/common/cpw/mods/ironchest/client/GUIChest.java @@ -88,7 +88,7 @@ public class GUIChest extends GuiContainer { { GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); // new "bind tex" - this.mc.func_110434_K().func_110577_a(type.guiResourceList.location); + this.mc.getTextureManager().bindTexture(type.guiResourceList.location); int x = (width - xSize) / 2; int y = (height - ySize) / 2; drawTexturedModalRect(x, y, 0, 0, xSize, ySize); diff --git a/IronChests2/common/cpw/mods/ironchest/client/TileEntityIronChestRenderer.java b/IronChests2/common/cpw/mods/ironchest/client/TileEntityIronChestRenderer.java index eacb25f..0e230d7 100644 --- a/IronChests2/common/cpw/mods/ironchest/client/TileEntityIronChestRenderer.java +++ b/IronChests2/common/cpw/mods/ironchest/client/TileEntityIronChestRenderer.java @@ -99,7 +99,7 @@ public class TileEntityIronChestRenderer extends TileEntitySpecialRenderer { int typ = tile.getWorldObj().getBlockMetadata(tile.xCoord, tile.yCoord, tile.zCoord); type = IronChestType.values()[typ]; } - func_110628_a(locations.get(type)); + bindTexture(locations.get(type)); glPushMatrix(); glEnable(32826 /* GL_RESCALE_NORMAL_EXT */); glColor4f(1.0F, 1.0F, 1.0F, 1.0F);