Do not -1 GetNumGroupMembers, party UnitIdCache includes player.

This commit is contained in:
andrew6180
2024-09-08 11:06:34 -07:00
parent f15230096d
commit 14f904a832
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -742,7 +742,7 @@ local hasGroupMemberInCombat = function()
end
end
else
local amountOfPartyMembers = GetNumGroupMembers() + 1
local amountOfPartyMembers = GetNumGroupMembers()
for i, unitId in ipairs(Details222.UnitIdCache.Party) do
if (i <= amountOfPartyMembers) then
if (UnitAffectingCombat(unitId)) then