Skip to content

Commit

Permalink
Merge pull request #623 from Flamanis/RealmsSpaces
Browse files Browse the repository at this point in the history
Fix for realms with spaces and pets
  • Loading branch information
Tercioo authored Nov 8, 2023
2 parents 466c67a + 761eaac commit 9a64ba6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Details.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Details_Classic.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Details_Wrath.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a64ba6

Please sign in to comment.