Skip to content

Commit

Permalink
Fix nil issue when buff target has combatant info error
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Nov 18, 2024
1 parent 1723e9d commit ffd5bea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ class BreathOfEonsRotational extends Analyzer {
GetRelatedEvents(relatedEvent, EBON_MIGHT_BUFF_LINKS).forEach((ebonMightEvent) => {
if (ebonMightEvent.type === EventType.ApplyBuff) {
const buffTarget = this.combatants.players[ebonMightEvent.targetID];

if (!buffTarget) {
return;
}

currentBuffedTargets.set(buffTarget.name, buffTarget);
}
});
Expand Down

0 comments on commit ffd5bea

Please sign in to comment.