Skip to content

Commit c2b7495

Browse files
committed
fix #158
1 parent 58a1948 commit c2b7495

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/cleanroommc/modularui/drawable

1 file changed

+1
-1
lines changed

src/main/java/com/cleanroommc/modularui/drawable/GuiDraw.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public static void drawItem(ItemStack item, int x, int y, float width, float hei
291291
renderItem.zLevel = z + 100;
292292
renderItem.renderItemAndEffectIntoGUI(Minecraft.getMinecraft().player, item, 0, 0);
293293
renderItem.zLevel = 0;
294-
GlStateManager.disableDepth();
294+
Platform.endDrawItem();
295295
GlStateManager.popMatrix();
296296
}
297297

0 commit comments

Comments
 (0)