Fix for updated MCP names
This commit is contained in:
parent
9bf25dedf0
commit
021d97d333
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue