Skip to content

Commit

Permalink
use IsKnownMinionID in NPCCombatReplayDescription
Browse files Browse the repository at this point in the history
  • Loading branch information
EliphasNUIT committed Oct 27, 2024
1 parent d8ca141 commit 0e635df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ internal NPCCombatReplayDescription(NPC npc, ParsedEvtcLog log, CombatReplayMap
}
SetBreakbarStatus(log, npc);
AgentItem master = npc.AgentItem.GetFinalMaster();
// Don't put minions of NPC into the minion display system
if (master != npc.AgentItem && master.IsPlayer)
// Don't put minions of NPC or unknown minions into the minion display system
if (master != npc.AgentItem && master.IsPlayer && ParserHelper.IsKnownMinionID(npc.AgentItem, master.Spec))
{
MasterID = master.UniqueID;
}
Expand Down

0 comments on commit 0e635df

Please sign in to comment.