mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Handle some inefficiencies found via messages
This commit is contained in:
@@ -320,7 +320,7 @@ namespace SabreTools.DatFiles
|
||||
private void ConvertMachines(Models.Metadata.Machine[]? items, string filename, int indexId, bool statsOnly)
|
||||
{
|
||||
// If the array is invalid, we can't do anything
|
||||
if (items == null || !items.Any())
|
||||
if (items == null || items.Length == 0)
|
||||
return;
|
||||
|
||||
// Loop through the machines and add
|
||||
|
||||
Reference in New Issue
Block a user