Did GetLootItemLink() Change?
Hey all,
Coming back to ESO and looking to update my addon for the current version. So far most everything appears to still be working, at least the important bits, but one thing I noticed right away is that my addon isn't getting item links anymore? I get the item link from items looted to display in the chat log (if enabled) but they are all coming out as just "[]" now. Code:
local link = GetLootItemLink(lootId,LINK_STYLE_BRACKETS) EDIT to add: I'm fairly certain my lootId is correct because I later go on to use that id to actually loot the item and that is working. |
GetLootItemLink expects the lootID instead of the lootIndex.
To get the lootID, you can use GetLootItemInfo: Lua Code:
|
Quote:
|
What has been changed is that LINK_STYLE_BRACKETS does (currently) not work.
Use LINK_STYLE_DEFAULT or omit the parameter. |
Quote:
Odd that it used to work. They just broke it I guess? :p |
All times are GMT -6. The time now is 09:39 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI