mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Co-authored-by: Firewooddoge <[email protected]>
This commit is contained in:
1 parent
5c433d2e24
commit
baad92797e
1 file changed
+2
@@ -32,6 +32,7 @@ public class GuiUtil {
|
||||
|
||||
RenderItem itemRender = GuiForestry.getItemRenderer();
|
||||
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef(0.0F, 0.0F, 32.0F);
|
||||
gui.setZLevel(100.0F);
|
||||
itemRender.zLevel = 100.0F;
|
||||
@@ -46,6 +47,7 @@ public class GuiUtil {
|
||||
itemRender.renderItemOverlayIntoGUI(font, gui.mc.getTextureManager(), stack, xPos, yPos);
|
||||
gui.setZLevel(0.0F);
|
||||
itemRender.zLevel = 0.0F;
|
||||
GL11.glPopMatrix();
|
||||
|
||||
RenderHelper.disableStandardItemLighting();
|
||||
GL11.glPopAttrib();
|
||||
|
||||
Reference in new issue
Block a user