From f91db9a31a9688d559f4eac0e711516ef637edbb Mon Sep 17 00:00:00 2001 From: brues-code Date: Thu, 14 May 2026 20:49:58 -0500 Subject: [PATCH] Update API.md use better item as example for :GetItem() --- docs/API.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/API.md b/docs/API.md index 9b465e94..273b4092 100644 --- a/docs/API.md +++ b/docs/API.md @@ -867,11 +867,11 @@ local name, link, id = GameTooltip:GetItem() -- id = 6948 -- SetInventoryItem — full dressed link with enchant + random suffix -GameTooltip:SetInventoryItem("player", 1) +GameTooltip:SetInventoryItem("player", INVSLOT_BACK) local name, link, id = GameTooltip:GetItem() --- name = "Cowl of Nature's Breath" --- link = "|cffa335ee|Hitem:28803:3001:0:0|h[Cowl of Nature's Breath]|h|r" --- id = 28803 +-- name = "Superior Cloak" +-- link = "|cff1eff00|Hitem:9805:247:843:0|h[Superior Cloak of the Eagle]|h|r" +-- id = 9805 ``` Two link paths: