post fix for charge items
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
Aux = {
|
Aux = {
|
||||||
version = '2.9.19',
|
version = '2.9.20',
|
||||||
blizzard_ui_shown = false,
|
blizzard_ui_shown = false,
|
||||||
orig = {},
|
orig = {},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ function private.find_empty_slot()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function private.find_charge_item_slot()
|
function private.find_charge_item_slot()
|
||||||
for slot in private.item_slots(state.item_key) do
|
for slot in Aux.util.inventory() do
|
||||||
if private.charges(slot) == state.target_size then
|
if private.matching_item(slot) and private.charges(slot) == state.target_size then
|
||||||
return slot
|
return slot
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user