View Single Post
11-22-22, 12:26 AM   #1
pasiv
A Murloc Raider
Join Date: Jul 2019
Posts: 7
Question Help with understanding PutItemInBag(23)

I'm new to lua, and I'm trying to make a tiny addon for myself that will help me manage my inventory. I'm currently trying to move items from inventory to a free bag slot, but in my testing, it seems that "PutItemInBag(23)" is not functioning at all as I had expected. "PutItemInBackpack()" works perfectly fine. So what am I missing here?

Code:
PickupInventoryItem(GetInventorySlotInfo("HEADSLOT"))
if CursorHasItem() then
   --PutItemInBackpack() -- Works fine.
   PutItemInBag(23) --! Doesn't work on beta or live, but works in wrath.
end
Forgive my noobishness, I'm super green.
  Reply With Quote