diff --git a/Libraries/SPTarkov.Server.Core/Helpers/InRaidHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/InRaidHelper.cs index a1880386..337d52ee 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/InRaidHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/InRaidHelper.cs @@ -171,7 +171,8 @@ public class InRaidHelper( { // Get inventory item ids to remove from players profile var itemIdsToDeleteFromProfile = GetInventoryItemsLostOnDeath(pmcData) - .Select(item => item.Id); + .Select(item => item.Id) + .ToList(); foreach (var itemIdToDelete in itemIdsToDeleteFromProfile) // Items inside containers are handled as part of function {