mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Use array helper in more places
This commit is contained in:
@@ -25,7 +25,7 @@ namespace SabreTools.DatFiles
|
||||
// TODO: Add header parsing
|
||||
|
||||
// Get the machines from the metadata
|
||||
var machines = item.Read<Models.Metadata.Machine[]>(Models.Metadata.MetadataFile.MachineKey);
|
||||
var machines = ReadItemArray<Models.Metadata.Machine>(item, Models.Metadata.MetadataFile.MachineKey);
|
||||
if (machines == null)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user