View Single Post
01/30/16, 01:47 PM   #2
Shinni
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 167
GetLootItemLink expects the lootID instead of the lootIndex.
To get the lootID, you can use GetLootItemInfo:

Lua Code:
  1. GetLootItemLink( GetLootItemInfo( lootIndex ), LINK_STYLE_DEFAULT )
  Reply With Quote