use correct types inside AdjustWeighting()

This commit is contained in:
Chomp
2025-07-15 17:31:27 +01:00
parent e42e53e492
commit e506ffba4f
@@ -525,7 +525,7 @@ public class BotEquipmentFilterService(
{
foreach (var poolAdjustmentKvP in weightingAdjustments.Add)
{
var locationToUpdate = botItemPool.GetByJsonProp<Dictionary<string, double>>(
var locationToUpdate = botItemPool.GetByJsonProp<Dictionary<MongoId, double>>(
poolAdjustmentKvP.Key
);
if (locationToUpdate is null)
@@ -544,7 +544,7 @@ public class BotEquipmentFilterService(
{
foreach (var poolAdjustmentKvP in weightingAdjustments.Edit)
{
var locationToUpdate = botItemPool.GetByJsonProp<Dictionary<string, double>>(
var locationToUpdate = botItemPool.GetByJsonProp<Dictionary<MongoId, double>>(
poolAdjustmentKvP.Key
);
if (locationToUpdate is null)