bugfix
This commit is contained in:
@@ -211,7 +211,6 @@ end
|
||||
do
|
||||
local last_owner_page_requested
|
||||
function GetOwnerAuctionItems(index)
|
||||
local page = index
|
||||
last_owner_page_requested = index
|
||||
return orig.GetOwnerAuctionItems(index)
|
||||
end
|
||||
@@ -230,7 +229,6 @@ function Blizzard_AuctionUI()
|
||||
hook 'GetOwnerAuctionItems' 'SetItemRef' 'UseContainerItem' 'AuctionFrameAuctions_OnEvent'
|
||||
end
|
||||
|
||||
|
||||
AuctionFrameAuctions_OnEvent = T.vararg-function(arg)
|
||||
if AuctionFrameAuctions:IsVisible() then
|
||||
return orig.AuctionFrameAuctions_OnEvent(unpack(arg))
|
||||
|
||||
+3
-3
@@ -7,10 +7,10 @@ local T = require 'T'
|
||||
local info = require 'aux.util.info'
|
||||
|
||||
do
|
||||
local orig = UseContainerItem
|
||||
local orig = SetItemRef
|
||||
_G.SetItemRef = T.vararg-function(arg)
|
||||
if arg[3] ~= 'RightButton' or not index(get_active_tab(), 'CLICK_LINK') or not strfind(arg[1], '^item:%d+') then
|
||||
return orig.SetItemRef(unpack(arg))
|
||||
return orig(unpack(arg))
|
||||
end
|
||||
local item_info = info.item(tonumber(select(3, strfind(arg[1], '^item:(%d+)'))))
|
||||
if item_info then
|
||||
@@ -23,7 +23,7 @@ do
|
||||
local orig = UseContainerItem
|
||||
_G.UseContainerItem = T.vararg-function(arg)
|
||||
if modified() or not get_active_tab() then
|
||||
return orig.UseContainerItem(unpack(arg))
|
||||
return orig(unpack(arg))
|
||||
end
|
||||
local item_info = info.container_item(arg[1], arg[2])
|
||||
if item_info and get_active_tab().USE_ITEM then
|
||||
|
||||
Reference in New Issue
Block a user