Merge pull request #623 from Flamanis/RealmsSpaces

Fix for realms with spaces and pets
This commit is contained in:
Tercio Jose
2023-11-08 09:07:29 -03:00
committed by GitHub
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