diff --git a/modules/bags.lua b/modules/bags.lua index 25819121..721453ed 100644 --- a/modules/bags.lua +++ b/modules/bags.lua @@ -54,6 +54,19 @@ pfUI:RegisterModule("bags", function () if CursorHasItem() then ClearCursor() end + elseif AuctionFrame and AuctionFrame:IsShown() and + AuctionFrameBrowse and AuctionFrameBrowse:IsShown() then + local link = GetContainerItemLink(bag,slot) + local name = link and string.sub(link, string.find(link, "%[")+1, string.find(link, "%]")-1) or "" + BrowseName:SetText(name) + AuctionFrameBrowse_Search() + elseif AuctionFrame and AuctionFrame:IsShown() and + AuctionFrameAuctions and AuctionFrameAuctions:IsShown() then + PickupContainerItem(bag,slot) + AuctionsItemButton:Click() + if CursorHasItem() then + ClearCursor() + end else pfHookUseContainerItem(bag,slot) end