diff --git a/NHSE.WinForms/Controls/ItemEditor.cs b/NHSE.WinForms/Controls/ItemEditor.cs index 37d7534..8f752d2 100644 --- a/NHSE.WinForms/Controls/ItemEditor.cs +++ b/NHSE.WinForms/Controls/ItemEditor.cs @@ -34,7 +34,7 @@ public Item SetItem(Item item) { var id = WinFormsUtil.GetIndex(CB_ItemID); item.ItemId = (ushort) id; - item.Count = (byte) NUD_Count.Value; + item.Count = (ushort) NUD_Count.Value; item.UseCount = (ushort) NUD_Uses.Value; item.Flags0 = (byte) NUD_Flag0.Value; item.Flags1 = (byte) NUD_Flag1.Value;