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:
@@ -191,7 +191,7 @@ namespace SabreTools.DatFiles
|
||||
lock (key)
|
||||
{
|
||||
// If the value is null or empty, just return
|
||||
if (value == null || !value.Any())
|
||||
if (value == null || value.Count == 0)
|
||||
return;
|
||||
|
||||
// Ensure the key exists
|
||||
|
||||
Reference in New Issue
Block a user