This commit is contained in:
Manuel Simon Hirsig
2016-08-09 07:58:17 +02:00
parent 0cbecf2f3c
commit 6107a253d6
2 changed files with 40 additions and 18 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ function private.AuctionFrameAuctions_OnEvent(...)
end
function private.SetItemRef(...)
if arg[3] ~= 'RightButton' or not m.index(m.active_tab.module[1], 'CLICK_LINK') or not strfind(arg[1], '^item:%d+') then
if arg[3] ~= 'RightButton' or not m.index(m.active_tab(), 'module', 1, 'CLICK_LINK') or not strfind(arg[1], '^item:%d+') then
return m.orig.SetItemRef(unpack(arg))
end
for _, item_info in {m.info.item(tonumber(({strfind(arg[1], '^item:(%d+)')})[3]))} do