Fix Chest render in Crafting Gui.
This commit is contained in:
parent
3885347369
commit
e32f2cf1d4
1 changed files with 3 additions and 2 deletions
|
@ -73,10 +73,10 @@ public abstract class AEBaseGui extends GuiContainer
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
DecimalFormat df = new DecimalFormat("+#;-#");
|
DecimalFormat df = new DecimalFormat( "+#;-#" );
|
||||||
return df.parse( btn.displayString ).intValue();
|
return df.parse( btn.displayString ).intValue();
|
||||||
}
|
}
|
||||||
catch(ParseException e )
|
catch (ParseException e)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -597,6 +597,7 @@ public abstract class AEBaseGui extends GuiContainer
|
||||||
GL11.glPushAttrib( GL11.GL_ALL_ATTRIB_BITS );
|
GL11.glPushAttrib( GL11.GL_ALL_ATTRIB_BITS );
|
||||||
GL11.glEnable( GL11.GL_LIGHTING );
|
GL11.glEnable( GL11.GL_LIGHTING );
|
||||||
GL11.glEnable( GL12.GL_RESCALE_NORMAL );
|
GL11.glEnable( GL12.GL_RESCALE_NORMAL );
|
||||||
|
GL11.glEnable( GL11.GL_DEPTH_TEST );
|
||||||
RenderHelper.enableGUIStandardItemLighting();
|
RenderHelper.enableGUIStandardItemLighting();
|
||||||
itemRender.renderItemAndEffectIntoGUI( this.fontRendererObj, this.mc.renderEngine, is, x, y );
|
itemRender.renderItemAndEffectIntoGUI( this.fontRendererObj, this.mc.renderEngine, is, x, y );
|
||||||
GL11.glPopAttrib();
|
GL11.glPopAttrib();
|
||||||
|
|
Loading…
Reference in a new issue