From fe0bc481eee8e7a374b3f50dad25cc688c3404f8 Mon Sep 17 00:00:00 2001 From: Spit <19otari98@gmail.com> Date: Sun, 9 Nov 2025 13:31:47 +0300 Subject: [PATCH] fix posting items with charges when using superwow mod --- util/info.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/util/info.lua b/util/info.lua index 76693dc..13279f1 100644 --- a/util/info.lua +++ b/util/info.lua @@ -50,6 +50,7 @@ function M.container_item(bag, slot) local tooltip, tooltip_money = tooltip('bag', bag, slot) local max_charges = max_item_charges(item_id) local charges = max_charges and item_charges(tooltip) + count = count > 0 and count or 1 -- fix for SuperWoW items with charges local aux_quantity = charges or count return T.map( 'item_id', item_id,