API 2.0 now uses Details:GetFullName(unitId) to retrieve a unit name

This commit is contained in:
Tercio Jose
2023-11-08 19:01:26 -03:00
parent dd13aff961
commit 3b2ba40b29
3 changed files with 10 additions and 13 deletions
+3
View File
@@ -175,6 +175,9 @@ do
end
function Details:GetFullName(unitId)
--playerName, realmName = UnitFullName(unitId) --realm name already has spaces removed
--return playerName .. "-" .. realmName
local playerName, realmName = UnitName(unitId)
if (not realmName) then