- Fixed spell container :ListActors() API.

- Finished revamp on the avoidance tab.
- Added Details:RemoveOwnerName(petName)
This commit is contained in:
Tercio
2018-08-25 20:15:31 -03:00
parent 5733096412
commit c76e830a0b
5 changed files with 80 additions and 20 deletions
+8
View File
@@ -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