mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-18 03:12:18 +12:00
Replaced error throwing with null return value
This commit is contained in:
parent
b842cfe53c
commit
8d741fc5bf
|
@ -248,7 +248,7 @@ namespace ModAssistant
|
|||
}
|
||||
|
||||
if (stream.Position == stream.Length) // we went through the entire stream without finding the key
|
||||
throw new KeyNotFoundException("Could not find key '" + key + "' in " + filename);
|
||||
return null;
|
||||
|
||||
while (stream.Position < stream.Length)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue