Skip to content

Commit

Permalink
Update for 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketho committed Jan 18, 2023
1 parent e6d4844 commit 8aecc0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions VendorPrice.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ for i = CONTAINER_BAG_OFFSET+1, 23 do
CharacterBags[i] = true
end

local firstBankBag = C_Container.ContainerIDToInventoryID(NUM_BAG_SLOTS + 1)
local lastBankBag = C_Container.ContainerIDToInventoryID(NUM_BAG_SLOTS + NUM_BANKBAGSLOTS)
local firstBankBag = (isWrath and C_Container.ContainerIDToInventoryID or ContainerIDToInventoryID)(NUM_BAG_SLOTS + 1)
local lastBankBag = (isWrath and C_Container.ContainerIDToInventoryID or ContainerIDToInventoryID)(NUM_BAG_SLOTS + NUM_BANKBAGSLOTS)
for i = firstBankBag, lastBankBag do
CharacterBags[i] = true
end
Expand Down Expand Up @@ -98,7 +98,7 @@ local SetItem = {
VP:SetPrice(tt, true, "SetAuctionSellItem", count)
end,
SetBagItem = function(tt, bag, slot)
local _, count = GetContainerItemInfo(bag, slot)
local _, count = (isWrath and C_Container.GetContainerItemInfo or GetContainerItemInfo)(bag, slot)
VP:SetPrice(tt, true, "SetBagItem", count)
end,
--SetBagItemChild
Expand Down
2 changes: 1 addition & 1 deletion VendorPrice.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 30400
## Interface: 30401
## Interface-Classic: 11403
## Version: @project-version@
## Title: Vendor Price
Expand Down

0 comments on commit 8aecc0f

Please sign in to comment.