GameTooltip:SetHyperlink is nil
YveOne opened this issue ยท 0 comments
Fix:
Replace (PersonalLootHelper-Core.lua:628-630)
tooltipLong = tooltipLong or PLH_CreateEmptyTooltip(30)
tooltipLong:ClearLines()
tooltipLong:SetHyperlink(item)
With
tooltipLong = tooltipLong or CreateFrame("GameTooltip", "PLHScanTooltip", nil, "GameTooltipTemplate")
tooltipLong:SetOwner(WorldFrame, "ANCHOR_NONE")
tooltipLong:ClearLines()
tooltipLong:SetHyperlink(item)
tooltipLong.leftside = {}
local i=1
while _G["PLHScanTooltipTextLeft" .. i] do
tooltipLong.leftside[i] = _G["PLHScanTooltipTextLeft" .. i]
i = i + 1
end
This gonna make your util function "PLH_CreateEmptyTooltip" obsolete