.NET Format Style Fixes

This commit is contained in:
sp-tarkov-bot
2025-07-22 19:43:42 +00:00
parent 731b79519f
commit 4de36f29bd
3 changed files with 3 additions and 9 deletions
@@ -410,9 +410,7 @@ public class InsuranceController(
if (parentAttachmentsMap.ContainsKey(insuredItem.Id))
{
// This call will also return the parent item itself, queueing it for deletion as well.
var itemAndChildren = insured.Items.GetItemWithChildren(
insuredItem.Id
);
var itemAndChildren = insured.Items.GetItemWithChildren(insuredItem.Id);
foreach (var item in itemAndChildren)
{
toDelete.Add(item.Id);
@@ -333,9 +333,7 @@ public class CircleOfCultistService(
List<Item> sacrificedItems = [];
foreach (var rootItem in inventoryRootItemsInCultistGrid)
{
var rootItemWithChildren = pmcData.Inventory.Items.GetItemWithChildren(
rootItem.Id
);
var rootItemWithChildren = pmcData.Inventory.Items.GetItemWithChildren(rootItem.Id);
sacrificedItems.AddRange(rootItemWithChildren);
}
@@ -856,9 +856,7 @@ public class FenceService(
// MUST randomise Ids as its possible to add the same base fence assort twice = duplicate IDs = dead client
var desiredAssortItemAndChildrenClone = _cloner
.Clone(
childItemsAndSingleRoot.GetItemWithChildren(chosenBaseAssortRoot.Id)
)
.Clone(childItemsAndSingleRoot.GetItemWithChildren(chosenBaseAssortRoot.Id))
.ReplaceIDs()
.ToList();
desiredAssortItemAndChildrenClone.RemapRootItemId();