Fixed Coach feature giving error when clicking a player bar

This commit is contained in:
Tercio Jose
2021-02-10 13:05:08 -03:00
parent c371a1a8e3
commit d0c44e6b43
2 changed files with 9 additions and 4 deletions
+4 -4
View File
@@ -605,10 +605,10 @@
end
end
end
end
end
end
end
end
end
end
end
end
table.sort (Targets, Details.Sort2)
+5
View File
@@ -98,6 +98,11 @@ do
if (spec > 600) then --hack to new spec ids on new leveling zones from level 1-10
spec = 65
end
if (spec == 0) then
return [[Interface\AddOns\Details\images\classes_small]], unpack (_detalhes.class_coords["UNKNOW"])
end
if (useAlpha) then
return [[Interface\AddOns\Details\images\spec_icons_normal_alpha]], unpack (_detalhes.class_specs_coords [spec])
else