From 36a10010b3382d7e0022cc2c0427fb3164284c96 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 21 Feb 2021 15:29:53 -0500 Subject: [PATCH] Protect self xD --- MyAddon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyAddon.lua b/MyAddon.lua index 7d822a5..1b389fb 100755 --- a/MyAddon.lua +++ b/MyAddon.lua @@ -59,7 +59,7 @@ function GetUnitFromGuid(guid) end function events:INSPECT_READY(guid) - if not inspectInitialized then + if not inspectInitialized and InspectFrame then InspectFontStrings["itemLevel"] = InspectFrame:CreateFontString(nil, "OVERLAY") InspectFontStrings["itemLevel"]:SetPoint("BOTTOMRIGHT", -5, 5) InspectFontStrings["itemLevel"]:SetFont("Fonts\\FRIZQT__.ttf", 24, "OUTLINE")