diff --git a/AutoDuty/Windows/Config.cs b/AutoDuty/Windows/Config.cs index 6528c45b..b74a1afa 100644 --- a/AutoDuty/Windows/Config.cs +++ b/AutoDuty/Windows/Config.cs @@ -350,7 +350,7 @@ public class ConsumableItem public ushort StatusId; } - private static List ConsumableItems { get; set; } = Svc.Data.GetExcelSheet()?.Where(x => !x.Name.ToString().IsNullOrEmpty() && x.ItemUICategory.ValueNullable?.RowId is 44 or 46 && x.ItemAction.ValueNullable?.Data[0] is 48 or 49).Select(x => new ConsumableItem() { StatusId = x.ItemAction.Value!.Data[0], ItemId = x.RowId, Name = x.Name.ToString(), CanBeHq = x.CanBeHq }).ToList() ?? []; + private static List ConsumableItems { get; set; } = Svc.Data.GetExcelSheet()?.Where(x => !x.Name.ToString().IsNullOrEmpty() && x.ItemUICategory.ValueNullable?.RowId is 44 or 45 or 46 && x.ItemAction.ValueNullable?.Data[0] is 48 or 49).Select(x => new ConsumableItem() { StatusId = x.ItemAction.Value!.Data[0], ItemId = x.RowId, Name = x.Name.ToString(), CanBeHq = x.CanBeHq }).ToList() ?? []; private static string consumableItemsItemNameInput = ""; private static ConsumableItem consumableItemsSelectedItem = new();