mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:42:58 +08:00
line can not be null in OsuLegacyDecoder.cs
This commit is contained in:
parent
13e75780d7
commit
b2e49c1e71
@ -725,6 +725,9 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private KeyValuePair<string, string> splitKeyVal(string line, char separator)
|
||||
{
|
||||
if (line == null)
|
||||
throw new ArgumentNullException(nameof(line));
|
||||
|
||||
var split = line.Trim().Split(new[] { separator }, 2);
|
||||
|
||||
return new KeyValuePair<string, string>
|
||||
|
Loading…
Reference in New Issue
Block a user