Coach feature should work no on pre-made groups and instance groups

This commit is contained in:
Tercio Jose
2021-01-23 12:53:27 -03:00
parent f7a6512af5
commit e6639b1ec7
5 changed files with 22 additions and 12 deletions
-5
View File
@@ -717,9 +717,7 @@
end
function _detalhes:SendRaidData (type, ...)
local isInInstanceGroup = IsInRaid (LE_PARTY_CATEGORY_INSTANCE)
if (isInInstanceGroup) then
_detalhes:SendCommMessage (DETAILS_PREFIX_NETWORK, _detalhes:Serialize (type, _UnitName("player"), _GetRealmName(), _detalhes.realversion, ...), "INSTANCE_CHAT")
if (_detalhes.debug) then
@@ -734,9 +732,7 @@
end
function _detalhes:SendPartyData (type, ...)
local isInInstanceGroup = IsInGroup (LE_PARTY_CATEGORY_INSTANCE)
if (isInInstanceGroup) then
_detalhes:SendCommMessage (DETAILS_PREFIX_NETWORK, _detalhes:Serialize (type, _UnitName ("player"), _GetRealmName(), _detalhes.realversion, ...), "INSTANCE_CHAT")
if (_detalhes.debug) then
@@ -748,7 +744,6 @@
_detalhes:Msg ("(debug) sent comm to LOCAL party group")
end
end
end
function _detalhes:SendRaidOrPartyData (type, ...)