mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Force internal model constructors to be non-null
This commit is contained in:
@@ -51,9 +51,9 @@ namespace SabreTools.DatItems.Formats
|
||||
/// <summary>
|
||||
/// Create a DipValue object from the internal model
|
||||
/// </summary>
|
||||
public DipValue(Models.Metadata.DipValue? item)
|
||||
public DipValue(Models.Metadata.DipValue item)
|
||||
{
|
||||
_internal = item ?? [];
|
||||
_internal = item;
|
||||
|
||||
SetFieldValue<ItemType>(Models.Metadata.DatItem.TypeKey, ItemType.DipValue);
|
||||
SetFieldValue<Machine>(DatItem.MachineKey, new Machine());
|
||||
|
||||
Reference in New Issue
Block a user