- Fixed spell container :ListActors() API.
- Finished revamp on the avoidance tab. - Added Details:RemoveOwnerName(petName)
This commit is contained in:
@@ -115,6 +115,14 @@ do
|
||||
end
|
||||
return self.nome:gsub (("%-.*"), "")
|
||||
end
|
||||
|
||||
function _detalhes:RemoveOwnerName (string)
|
||||
if (string) then
|
||||
return string:gsub ((" <.*"), "")
|
||||
end
|
||||
return self.nome:gsub ((" <.*"), "")
|
||||
end
|
||||
|
||||
function _detalhes:GetCLName (id)
|
||||
local name, realm = UnitName (id)
|
||||
if (name) then
|
||||
|
||||
Reference in New Issue
Block a user