Fix wrong OpenGL in renderItem

This commit is contained in:
kordum committed 2017-07-06 15:27:55 +03:00
1 parent ce050eaa63
commit d721a7e98f
1 file changed
+2 -2
@@ -393,9 +393,9 @@ public class GuiCraftGUI extends GuiContainer {
if (rotating) {
GL11.glPopMatrix();
}
GuiScreen.itemRender.renderItemOverlayIntoGUI(font, mc.renderEngine, item, (int) pos.x(), (int) pos.y(), null);
GL11.glDisable(GL11.GL_BLEND);
GuiScreen.itemRender.renderItemOverlayIntoGUI(font, mc.renderEngine, item, (int) pos.x(), (int) pos.y(), null);
GL11.glClear(256);
RenderHelper.disableStandardItemLighting();
GL11.glPopAttrib();
}