This commit is contained in:
Andrew Tomaka 2022-11-23 21:12:10 -05:00
parent 90b9b22368
commit 1e03a13d39
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -126,7 +126,7 @@ end
function ATMe.announceKey() function ATMe.announceKey()
for bag = BACKPACK_CONTAINER, NUM_TOTAL_EQUIPPED_BAG_SLOTS do for bag = BACKPACK_CONTAINER, NUM_TOTAL_EQUIPPED_BAG_SLOTS do
for slot = 1, C_ContainerGetContainerNumSlots(bag)do for slot = 1, C_Container.GetContainerNumSlots(bag)do
itemID = C_Container.GetContainerItemID(bag, slot) itemID = C_Container.GetContainerItemID(bag, slot)
if C_Container.GetContainerItemID(bag, slot) == ATMe.keyItemID then if C_Container.GetContainerItemID(bag, slot) == ATMe.keyItemID then
local link = C_Container.GetContainerItemLink(bag, slot) local link = C_Container.GetContainerItemLink(bag, slot)