mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Modify "Contains" a little
This commit is contained in:
@@ -264,7 +264,7 @@ namespace SabreTools.Library.Dats
|
||||
string key = SortAndGetKey(datdata, sorted);
|
||||
|
||||
// If the key doesn't exist, return the empty list
|
||||
if (!datdata.ContainsKey(key))
|
||||
if (!datdata.Contains(key))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -303,7 +303,7 @@ namespace SabreTools.Library.Dats
|
||||
string key = SortAndGetKey(datdata);
|
||||
|
||||
// If the key doesn't exist, return the empty list
|
||||
if (!datdata.ContainsKey(key))
|
||||
if (!datdata.Contains(key))
|
||||
{
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user