Fix rendering items on the overlay making it go all dark

This commit is contained in:
Ellpeck 2015-12-22 15:01:40 +01:00
parent 9cbd9cc6b6
commit f22ca0c21c

View file

@ -87,7 +87,7 @@ public class AssetUtil{
mc.fontRenderer.setUnicodeFlag(flagBefore); mc.fontRenderer.setUnicodeFlag(flagBefore);
//GL+MC+NEI suck //GL+MC+NEI suck
if(mc.currentScreen instanceof GuiBooklet){ if(mc.currentScreen instanceof GuiBooklet || mc.currentScreen == null){
RenderHelper.disableStandardItemLighting(); RenderHelper.disableStandardItemLighting();
} }
GL11.glPopMatrix(); GL11.glPopMatrix();