mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +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 itemcache = {}
|
||||||
|
|
||||||
local function AddTooltip(frame, item)
|
local function AddTooltip(frame, item)
|
||||||
|
-- abort when no item was given
|
||||||
|
if not item then return end
|
||||||
|
|
||||||
-- abort if questitem is disabled
|
-- abort if questitem is disabled
|
||||||
if C.tooltip.questitem.showquest ~= "1" then return end
|
if C.tooltip.questitem.showquest ~= "1" then return end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user