mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
questitem: abort when no valid item was given
This commit is contained in:
@@ -3,6 +3,9 @@ pfUI:RegisterModule("questitem", function ()
|
||||
local itemcache = {}
|
||||
|
||||
local function AddTooltip(frame, item)
|
||||
-- abort when no item was given
|
||||
if not item then return end
|
||||
|
||||
-- abort if questitem is disabled
|
||||
if C.tooltip.questitem.showquest ~= "1" then return end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user