Make sure we can inspect the init

This commit is contained in:
Andrew Tomaka 2021-02-21 14:31:21 -05:00
parent 201078c926
commit 4b034effe8
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -66,7 +66,7 @@ function events:INSPECT_READY(guid)
unit = GetUnitFromGuid(guid) unit = GetUnitFromGuid(guid)
if unit then if unit and CanInspect(unit) then
local itemLevel = C_PaperDollInfo.GetInspectItemLevel(unit) local itemLevel = C_PaperDollInfo.GetInspectItemLevel(unit)
InspectFontStrings["itemLevel"]:SetText(itemLevel) InspectFontStrings["itemLevel"]:SetText(itemLevel)
end end