From dd13aff9616ffa673ca24455ed57931d67a45dc4 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Wed, 8 Nov 2023 12:56:16 -0300 Subject: [PATCH] Attempt to fix an issue for players on realms that have a space in the realm name. --- boot.lua | 4 ++-- functions/classes.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot.lua b/boot.lua index ce04d65c0..359f0bbf1 100644 --- a/boot.lua +++ b/boot.lua @@ -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 diff --git a/functions/classes.lua b/functions/classes.lua index f5e5ce623..0c9f28042 100644 --- a/functions/classes.lua +++ b/functions/classes.lua @@ -178,7 +178,7 @@ do local playerName, realmName = UnitName(unitId) if (not realmName) then - realmName = GetRealmName() + realmName = GetRealmName():gsub("%s", "") end return playerName .. "-" .. realmName