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:
@@ -768,7 +768,7 @@ public class InsuranceController(
|
||||
continue;
|
||||
}
|
||||
|
||||
items.Add(
|
||||
items.TryAdd(
|
||||
inventoryItemsHash[itemId].Template,
|
||||
_insuranceService.GetRoublePriceToInsureItemWithTrader(pmcData, inventoryItemsHash[itemId], trader)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user