Quantcast
WoWInterface - View Single Post - GetItemInfo
Thread: GetItemInfo
View Single Post
11-20-17, 04:02 AM   #1
Marsgames
An Aku'mai Servant
 
Marsgames's Avatar
Join Date: Jul 2016
Posts: 33
GetItemInfo

Hey,

I don't really understand why, but I have a problem with GetItemInfo.

I have a slash cmd that only do
Lua Code:
  1. feet = function(msg)
  2.     local _, equipedItem, itemEquipRarity = GetItemInfo(132455)
  3.     print(equipedItem)
  4. end,

I tried 5 times:
- /reload
- /gh feet (my cmd)
I got 3 "nil" and 2 "[Norgannon's Foresight]"

I tried with others items and I get the same issue. Sometimes got nil, sometimes got itemLink...

Thanks

Last edited by Marsgames : 11-20-17 at 04:05 AM.
  Reply With Quote