diff --git a/classes/container_actors.lua b/classes/container_actors.lua index aa269d1e..bbf033c6 100644 --- a/classes/container_actors.lua +++ b/classes/container_actors.lua @@ -434,8 +434,8 @@ local line1 = _G ["DetailsPetOwnerFinderTextLeft2"] local text1 = line1 and line1:GetText() if (text1 and text1 ~= "") then - for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do - --for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do + --for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do + for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do local pName = playerName playerName = playerName:gsub ("%-.*", "") --remove realm name @@ -462,8 +462,8 @@ local line2 = _G ["DetailsPetOwnerFinderTextLeft3"] local text2 = line2 and line2:GetText() if (text2 and text2 ~= "") then - --for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do - for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do + for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do + --for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do local pName = playerName playerName = playerName:gsub ("%-.*", "") --remove realm name