diff --git a/GW2EIEvtcParser/EncounterLogic/Raids/W7/Adina.cs b/GW2EIEvtcParser/EncounterLogic/Raids/W7/Adina.cs index afd290f2bd..26f09a544f 100644 --- a/GW2EIEvtcParser/EncounterLogic/Raids/W7/Adina.cs +++ b/GW2EIEvtcParser/EncounterLogic/Raids/W7/Adina.cs @@ -80,7 +80,7 @@ internal override void EIEvtcParse(ulong gw2Build, EvtcVersionEvent evtcVersion, return targetables.Any(y => y.Targetable); } return false; - }); + }).ToList(); long final = fightData.FightEnd; var handOfEruptionPositions = new Vector2[] { new(15570.5f, -693.117f), new(14277.2f, -2202.52f) }; // gadget locations var processedAttackTargets = new HashSet(); diff --git a/GW2EIEvtcParser/ParserHelpers/ParserHelper.cs b/GW2EIEvtcParser/ParserHelpers/ParserHelper.cs index 48453924b9..d478e6a1b6 100644 --- a/GW2EIEvtcParser/ParserHelpers/ParserHelper.cs +++ b/GW2EIEvtcParser/ParserHelpers/ParserHelper.cs @@ -323,7 +323,7 @@ internal static void RedirectEventsAndCopyPreviousStates(List combat } // Copy attack targets var attackTargetAgents = new HashSet(); - var attackTargets = combatData.Where(x => x.IsStateChange == StateChange.AttackTarget && x.DstMatchesAgent(redirectFrom)); + var attackTargets = combatData.Where(x => x.IsStateChange == StateChange.AttackTarget && x.DstMatchesAgent(redirectFrom)).ToList() ; var targetableOns = combatData.Where(x => x.IsStateChange == StateChange.Targetable && x.DstAgent == 1); foreach (CombatItem c in attackTargets) {