aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-08-12 21:35:25 -0400
committerbowser0000 <bowser0000@gmail.com>2022-08-12 21:35:25 -0400
commitd89f15d11550f3c3b1a5fdc447a1079035b1e759 (patch)
tree38ab366dada88086c98c98aac51d9f26cf7745c2
parent4ad452877d9d88a54669c5e6f04f6ab933a01a02 (diff)
downloadSkyblockMod-d89f15d11550f3c3b1a5fdc447a1079035b1e759.tar.gz
SkyblockMod-d89f15d11550f3c3b1a5fdc447a1079035b1e759.tar.bz2
SkyblockMod-d89f15d11550f3c3b1a5fdc447a1079035b1e759.zip
Fix rendering issues with trophy fish completion display
-rw-r--r--src/main/java/me/Danker/utils/RenderUtils.java5
1 files 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();
}