Protect self xD

This commit is contained in:
Andrew Tomaka 2021-02-21 15:29:53 -05:00
parent 7265c6f489
commit 36a10010b3
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -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")