@@ -294,7 +294,7 @@ public static void drawItem(ItemStack item, int x, int y, float width, float hei
294294 GlStateManager .scale (width / 16f , height / 16f , 1 );
295295 RenderItem renderItem = Minecraft .getMinecraft ().getRenderItem ();
296296 renderItem .zLevel = z + 100 ;
297- renderItem .renderItemAndEffectIntoGUI (Minecraft . getMinecraft (). player , item , 0 , 0 );
297+ renderItem .renderItemAndEffectIntoGUI (Platform . getClientPlayer () , item , 0 , 0 );
298298 renderItem .zLevel = 0 ;
299299 Platform .endDrawItem ();
300300 GlStateManager .popMatrix ();
@@ -569,10 +569,10 @@ public static void drawTooltipBackground(ItemStack stack, List<String> lines, in
569569
570570 /**
571571 * Draws an entity. Note that this does NOT do any necessary setup for rendering the entity. Please see
572- * {@link #drawEntity(Entity, float, float, float, float, Consumer, Consumer)} for a full draw method.
572+ * {@link #drawEntity(Entity, float, float, float, float, float, Consumer, Consumer)} for a full draw method.
573573 *
574574 * @param entity entity to draw.
575- * @see #drawEntity(Entity, float, float, float, float, Consumer, Consumer)
575+ * @see #drawEntity(Entity, float, float, float, float, float, Consumer, Consumer)
576576 */
577577 public static void drawEntityRaw (Entity entity ) {
578578 RenderManager rendermanager = Minecraft .getMinecraft ().getRenderManager ();
@@ -616,9 +616,9 @@ public static <T extends Entity> void drawEntity(T entity, float x, float y, flo
616616 * @param entity entity to draw
617617 * @param x x pos
618618 * @param y y pos
619- * @param w the width of the area where the entity should be drawn
620- * @param h the height of the area where the entity should be drawn
621- * @param z the z layer ({@link GuiContext#getCurrentDrawingZ()} if drawn in a MUI)
619+ * @param w the width of the area where the entity should be drawn
620+ * @param h the height of the area where the entity should be drawn
621+ * @param z the z layer ({@link GuiContext#getCurrentDrawingZ()} if drawn in a MUI)
622622 * @param mouseX current x pos of the mouse
623623 * @param mouseY current y pos of the mouse
624624 */
0 commit comments