Fix Beealyzer mutation icons disappearing (#146) (#147)

Co-authored-by: Firewooddoge <[email protected]>
This commit is contained in:
boubou19andFirewooddoge authored and GitHub committed 2026-11-24 21:46:30 +01:00
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();