Fixed /key not showing the map name

This commit is contained in:
Tercio Jose
2024-07-30 12:59:00 -03:00
committed by andrew6180
parent 5659b7d9f0
commit 4c65968927
4 changed files with 19 additions and 3 deletions
+7
View File
@@ -1542,6 +1542,9 @@ function SlashCmdList.DETAILS (msg, editbox)
elseif (msg == "spellcat") then
Details.Survey.OpenSurveyPanel()
elseif (msg == "pstate") then
local sEngineState = Details222.Parser.GetState()
Details:Msg("Parser State:", sEngineState)
else
--if (_detalhes.opened_windows < 1) then
@@ -2057,6 +2060,10 @@ if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then
local unitName, level, mapID, challengeMapID, classID, rating, mythicPlusMapID, classIconTexture, iconTexCoords, mapName, inMyParty, isOnline, isGuildMember = unpack(unitTable)
if (mapName == "") then
mapName = "user need update details!"
end
local rioProfile
if (RaiderIO) then
local playerName, playerRealm = unitName:match("(.+)%-(.+)")