.NET Format Style Fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user