libtooltip: remove duplicate hook

This commit is contained in:
shagu
2022-08-13 01:37:20 +02:00
parent d315d3f669
commit 85af950893
-6
View File
@@ -99,12 +99,6 @@ function GameTooltip.SetLootRollItem(self, id)
return pfHookSetLootRollItem(self, id)
end
local pfHookSetLootRollItem = GameTooltip.SetLootRollItem
function GameTooltip.SetLootRollItem(self, id)
libtooltip.itemLink = GetLootRollItemLink(id)
return pfHookSetLootRollItem(self, id)
end
local pfHookSetMerchantItem = GameTooltip.SetMerchantItem
function GameTooltip.SetMerchantItem(self, merchantIndex)
libtooltip.itemLink = GetMerchantItemLink(merchantIndex)