diff --git a/SoD_BaseMod/src/basemod/console/commands/itemdumphandlers/FullItemDumpHandler.cs b/SoD_BaseMod/src/basemod/console/commands/itemdumphandlers/FullItemDumpHandler.cs index 8578117..53c9edd 100644 --- a/SoD_BaseMod/src/basemod/console/commands/itemdumphandlers/FullItemDumpHandler.cs +++ b/SoD_BaseMod/src/basemod/console/commands/itemdumphandlers/FullItemDumpHandler.cs @@ -343,14 +343,9 @@ public static void OnAllItemsLoaded(BTInventoryCommands.BTInventoryDumpItemDataP firstStateRow.itemState_rule_completionAction = itemState?.Rule?.CompletionAction?.Transition; List ruleCriteria = itemState?.Rule?.Criterias - ?.Select(criterion => { - if (criterion?.Type == ItemStateCriteriaType.ReplenishableItem) { - BTConsole.WriteLine("Found 'ReplenishableItem' at id: " + i); - } - return new ItemDataRow { - itemState_rule_criteria = criterion?.Type, - itemState_rule_criteriaObject = criterion - }; + ?.Select(criterion => new ItemDataRow { + itemState_rule_criteria = criterion?.Type, + itemState_rule_criteriaObject = criterion }).ToList(); if (ruleCriteria != null && ruleCriteria.Count > 0) {