mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Reduce Linq usage across entire project
This commit is contained in:
@@ -782,7 +782,7 @@ namespace SabreTools.DatTools
|
||||
{
|
||||
// Get the current machine
|
||||
var items = datFile.Items[machine];
|
||||
if (items == null || !items.Any())
|
||||
if (items == null || items.Count == 0)
|
||||
{
|
||||
logger.Error($"{machine} contains no items and will be skipped");
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user