mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 13:40:13 -05:00
Fix FigureNPCGuild on Classic
This logic was bad when TooltipInfo didn't exist.
This commit is contained in:
@ -94,7 +94,7 @@ local function FigureNPCGuild(unit)
|
||||
if not left_2 or left_2:find(LEVEL_start) then
|
||||
return nil
|
||||
end
|
||||
if not TooltipLineCouldBeGuild(info and info.lines[2] or nil) then
|
||||
if info and not TooltipLineCouldBeGuild(info.lines[2]) then
|
||||
return nil
|
||||
end
|
||||
return left_2
|
||||
|
Reference in New Issue
Block a user