From d89f15d11550f3c3b1a5fdc447a1079035b1e759 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Fri, 12 Aug 2022 21:35:25 -0400 Subject: Fix rendering issues with trophy fish completion display --- src/main/java/me/Danker/utils/RenderUtils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/Danker/utils/RenderUtils.java b/src/main/java/me/Danker/utils/RenderUtils.java index e1ee261..00f49b3 100644 --- a/src/main/java/me/Danker/utils/RenderUtils.java +++ b/src/main/java/me/Danker/utils/RenderUtils.java @@ -394,16 +394,15 @@ public class RenderUtils { public static void renderItem(ItemStack stack, int x, int y, int z, double scale) { GlStateManager.enableRescaleNormal(); RenderHelper.enableGUIStandardItemLighting(); - GlStateManager.enableDepth(); GlStateManager.pushMatrix(); GlStateManager.translate(x, y, z); GlStateManager.scale(scale, scale, scale); - //Minecraft.getMinecraft().getRenderItem().renderItemIntoGUI(stack, 0, 0); + Minecraft.getMinecraft().getRenderItem().renderItemAndEffectIntoGUI(stack, 0, 0); + GlStateManager.popMatrix(); - GlStateManager.disableDepth(); RenderHelper.disableStandardItemLighting(); GlStateManager.disableRescaleNormal(); } -- cgit