vendor-values: use old method to detect item links

partially undo a faulty pull request:
https://github.com/shagu/ShaguTweaks/pull/107
This commit is contained in:
shagu
2025-07-18 15:38:42 +02:00
parent 4bff740eb3
commit 9c3e721710
+3 -2
View File
@@ -4005,8 +4005,9 @@ module.enable = function(self)
local HookSetAuctionSellItem = GameTooltip.SetAuctionSellItem
function GameTooltip.SetAuctionSellItem(self)
_, GameTooltip.itemCount = GetAuctionSellItemInfo()
GameTooltip.itemLink = GetAuctionSellItemLink()
local itemName, _, itemCount = GetAuctionSellItemInfo()
GameTooltip.itemCount = itemCount
GameTooltip.itemLink = GetItemLinkByName(itemName)
GameTooltip.ignoreMerchant = true
return HookSetAuctionSellItem(self)
end