diff --git a/QuickStackToBag/Lua/Cyka/cursormacroer.lua b/QuickStackToBag/Lua/Cyka/cursormacroer.lua index 55db40c..a045553 100644 --- a/QuickStackToBag/Lua/Cyka/cursormacroer.lua +++ b/QuickStackToBag/Lua/Cyka/cursormacroer.lua @@ -126,15 +126,21 @@ local function setTargetInventory() end if not slot.items or #slot.items == 0 then MyModGlobal.debugPrint("Slot is empty") + print(string.format("Setting target inventory to %s", tostring(itemInv))) + targetInventory = itemInv return end local item = slot.items[1] if not item then MyModGlobal.debugPrint("Slot is empty") + print(string.format("Setting target inventory to %s", tostring(itemInv))) + targetInventory = itemInv return end if not item.OwnInventory then MyModGlobal.debugPrint("Item has no own inventory") + print(string.format("Setting target inventory to %s", tostring(itemInv))) + targetInventory = itemInv return end print(string.format("Setting target inventory to %s", tostring(item.OwnInventory)))