From e506ffba4ffc44f61db8483fd93651e2b9e461e1 Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 15 Jul 2025 17:31:27 +0100 Subject: [PATCH] use correct types inside `AdjustWeighting()` --- .../Services/BotEquipmentFilterService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/BotEquipmentFilterService.cs b/Libraries/SPTarkov.Server.Core/Services/BotEquipmentFilterService.cs index a86a78d5..32bf7598 100644 --- a/Libraries/SPTarkov.Server.Core/Services/BotEquipmentFilterService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/BotEquipmentFilterService.cs @@ -525,7 +525,7 @@ public class BotEquipmentFilterService( { foreach (var poolAdjustmentKvP in weightingAdjustments.Add) { - var locationToUpdate = botItemPool.GetByJsonProp>( + var locationToUpdate = botItemPool.GetByJsonProp>( poolAdjustmentKvP.Key ); if (locationToUpdate is null) @@ -544,7 +544,7 @@ public class BotEquipmentFilterService( { foreach (var poolAdjustmentKvP in weightingAdjustments.Edit) { - var locationToUpdate = botItemPool.GetByJsonProp>( + var locationToUpdate = botItemPool.GetByJsonProp>( poolAdjustmentKvP.Key ); if (locationToUpdate is null)