diff --git a/ATMe/ATMe.lua b/ATMe/ATMe.lua index c70a591..a7b4cc8 100755 --- a/ATMe/ATMe.lua +++ b/ATMe/ATMe.lua @@ -126,7 +126,7 @@ end function ATMe.announceKey() 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) if C_Container.GetContainerItemID(bag, slot) == ATMe.keyItemID then local link = C_Container.GetContainerItemLink(bag, slot)