do tryadd for insurance cost (cant have more than one of the same tpl), client handles multiple items being the same

This commit is contained in:
CWX
2025-02-01 17:02:10 +00:00
parent a9f230eed7
commit ecf9540514
3 changed files with 3 additions and 3 deletions
@@ -768,7 +768,7 @@ public class InsuranceController(
continue;
}
items.Add(
items.TryAdd(
inventoryItemsHash[itemId].Template,
_insuranceService.GetRoublePriceToInsureItemWithTrader(pmcData, inventoryItemsHash[itemId], trader)
);