- Changes to make the live version work with the BfA Beta.

This commit is contained in:
Tercio
2018-05-03 14:51:47 -03:00
parent febf9dd34f
commit 117913ab8d
24 changed files with 501 additions and 116 deletions
+16 -1
View File
@@ -332,7 +332,22 @@ do
end
function _detalhes:GetCurrentDungeonBossListFromEJ()
local EJ_CInstance = EJ_GetCurrentInstance()
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()
end
if (EJ_CInstance and EJ_CInstance ~= 0) then
if (_detalhes.encounter_dungeons [EJ_CInstance]) then
return _detalhes.encounter_dungeons [EJ_CInstance]