mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-10 23:50:01 +00:00
questitem: abort when no valid id is given
This commit is contained in:
@@ -136,6 +136,7 @@ pfUI:RegisterModule("questitem", function ()
|
||||
pfUI.questitem.tooltip:SetScript("OnShow", function()
|
||||
if libtooltip:GetItemLink() then
|
||||
local id = libtooltip:GetItemID()
|
||||
if not id then return end
|
||||
local name = GetItemInfo(id)
|
||||
AddTooltip(GameTooltip, name)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user