Fixes drawing the dark overlay over slots when item UIs are unpowered.

This commit is contained in:
Sebastian Hartte
2016-09-30 20:25:11 +02:00
parent fdd75ef3a8
commit e1455df108
@@ -716,9 +716,7 @@ public abstract class AEBaseGui extends GuiContainer
if( !this.isPowered() ) if( !this.isPowered() )
{ {
GL11.glDisable( GL11.GL_LIGHTING );
drawRect( s.xDisplayPosition, s.yDisplayPosition, 16 + s.xDisplayPosition, 16 + s.yDisplayPosition, 0x66111111 ); drawRect( s.xDisplayPosition, s.yDisplayPosition, 16 + s.xDisplayPosition, 16 + s.yDisplayPosition, 0x66111111 );
GL11.glEnable( GL11.GL_LIGHTING );
} }
this.zLevel = 0.0F; this.zLevel = 0.0F;