Fix for realms with spaces and pets

This commit is contained in:
Flamanis
2023-11-07 22:23:01 -06:00
parent 466c67aea4
commit 761eaac2d1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
## Interface: 100107
## Interface: 100200
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## SavedVariables: _detalhes_global, __details_backup
+1 -1
View File
@@ -1,4 +1,4 @@
## Interface: 11403
## Interface: 11404
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## SavedVariables: _detalhes_global, __details_backup
+1 -1
View File
@@ -1,4 +1,4 @@
## Interface: 30402
## Interface: 30403
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## SavedVariables: _detalhes_global, __details_backup
+1 -1
View File
@@ -6108,7 +6108,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
local _, _, _, toc = GetBuildInfo()
if (toc >= 100200) then
Details.playername = UnitName("player") .. "-" .. GetRealmName()
Details.playername = UnitName("player") .. "-" .. (GetRealmName():gsub("%s", ''))
else
Details.playername = UnitName("player")
end