diff --git a/core.lua b/core.lua index e01f5f7..4ac7440 100644 --- a/core.lua +++ b/core.lua @@ -1,5 +1,5 @@ Aux = { - version = '2.9.19', + version = '2.9.20', blizzard_ui_shown = false, orig = {}, } diff --git a/stack.lua b/stack.lua index 7f3861d..e53dbb0 100644 --- a/stack.lua +++ b/stack.lua @@ -45,8 +45,8 @@ function private.find_empty_slot() end function private.find_charge_item_slot() - for slot in private.item_slots(state.item_key) do - if private.charges(slot) == state.target_size then + for slot in Aux.util.inventory() do + if private.matching_item(slot) and private.charges(slot) == state.target_size then return slot end end