From ddc1b859a6ad1881fceb247991b9d9e903e94734 Mon Sep 17 00:00:00 2001 From: Retinus Date: Mon, 13 Jul 2020 13:38:26 +0300 Subject: [PATCH] questitem: abort when no valid id is given --- modules/questitem.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/questitem.lua b/modules/questitem.lua index 4675e3bf..216aee73 100644 --- a/modules/questitem.lua +++ b/modules/questitem.lua @@ -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