Make sure we can inspect the init
This commit is contained in:
parent
201078c926
commit
4b034effe8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue