From b7ad3fbe6a73379c79e1af1d8dd82e6146017c6c Mon Sep 17 00:00:00 2001 From: EvanCobb Date: Mon, 21 Nov 2022 10:04:58 -0600 Subject: [PATCH] fixes opening for 10.0 --- OpenThosePouches.lua | 2 +- OpenThosePouches.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenThosePouches.lua b/OpenThosePouches.lua index df1bd8c..05a416d 100644 --- a/OpenThosePouches.lua +++ b/OpenThosePouches.lua @@ -74,7 +74,7 @@ local function OpenNextPouch() for container = BACKPACK_CONTAINER, NUM_BAG_SLOTS do for slot = 1, C_Container.GetContainerNumSlots(container) do if IsPouch(container, slot) == true then - UseContainerItem(container, slot) + C_Container.UseContainerItem(container, slot) C_Timer.After(delayBetweenSearches, OpenNextPouch) return end diff --git a/OpenThosePouches.toc b/OpenThosePouches.toc index cd4f350..bd45c8f 100644 --- a/OpenThosePouches.toc +++ b/OpenThosePouches.toc @@ -2,7 +2,7 @@ ## Title: Open Those Pouches ## Notes: Automatically opens and tries to loot any backpacks, satchels, or pouches as you loot them ## Author: @icbat -## Version: 10 +## Version: 11 ## X-WoWI-ID: 26222