mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 22:14:57 +08:00
line can not be null in OsuLegacyDecoder.cs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user