class not found test
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> global name declaration
|
||||
|
||||
|
||||
_ = nil
|
||||
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
|
||||
_detalhes.build_counter = 2186 --it's 2186 for release
|
||||
|
||||
@@ -2728,6 +2728,12 @@ end
|
||||
|
||||
local class, enemy, arena_enemy, arena_ally = self.classe, self.enemy, self.arena_enemy, self.arena_ally
|
||||
|
||||
if (not class) then
|
||||
_detalhes:Msg ("Warning, actor without a class:", self.nome, self.flag_original, self.serial)
|
||||
self.classe = "UNKNOW"
|
||||
class = "UNKNOW"
|
||||
end
|
||||
|
||||
if (from_resize) then
|
||||
actor_class_color_r, actor_class_color_g, actor_class_color_b = self:GetBarColor()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user