Skip to content

Commit

Permalink
Attempt to fix an issue for players on realms that have a space in th…
Browse files Browse the repository at this point in the history
…e realm name.
  • Loading branch information
Tercioo committed Nov 8, 2023
1 parent 57535ba commit dd13aff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()

Details.build_counter = 12023
Details.alpha_build_counter = 12023 --if this is higher than the regular counter, use it instead
Details.build_counter = 12024
Details.alpha_build_counter = 12024 --if this is higher than the regular counter, use it instead
Details.dont_open_news = true
Details.game_version = version
Details.userversion = version .. " " .. Details.build_counter
Expand Down
2 changes: 1 addition & 1 deletion functions/classes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ do
local playerName, realmName = UnitName(unitId)

if (not realmName) then
realmName = GetRealmName()
realmName = GetRealmName():gsub("%s", "")
end

return playerName .. "-" .. realmName
Expand Down

0 comments on commit dd13aff

Please sign in to comment.