aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me')
-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();
}