- Patch 8.0.1
This commit is contained in:
+9
-14
@@ -332,22 +332,17 @@ do
|
||||
end
|
||||
|
||||
function _detalhes:GetCurrentDungeonBossListFromEJ()
|
||||
|
||||
local EJ_CInstance
|
||||
|
||||
if (_detalhes.IsBFAClient) then
|
||||
local mapID = C_Map.GetBestMapForUnit ("player")
|
||||
|
||||
if (not mapID) then
|
||||
--print ("Details! exeption handled: zone has no map")
|
||||
return
|
||||
end
|
||||
|
||||
EJ_CInstance = EJ_GetInstanceForMap (mapID)
|
||||
else
|
||||
EJ_CInstance = EJ_GetCurrentInstance()
|
||||
--local EJ_CInstance = EJ_GetCurrentInstance()
|
||||
|
||||
local mapID = C_Map.GetBestMapForUnit ("player")
|
||||
|
||||
if (not mapID) then
|
||||
--print ("Details! exeption handled: zone has no map")
|
||||
return
|
||||
end
|
||||
|
||||
local EJ_CInstance = EJ_GetInstanceForMap(mapID)
|
||||
|
||||
if (EJ_CInstance and EJ_CInstance ~= 0) then
|
||||
if (_detalhes.encounter_dungeons [EJ_CInstance]) then
|
||||
return _detalhes.encounter_dungeons [EJ_CInstance]
|
||||
|
||||
Reference in New Issue
Block a user