Skip to content

Commit

Permalink
Fix the broken API.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Jul 9, 2022
1 parent 91787f6 commit fd13168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected override void ParseStreamInto(LineBufferedReader stream, Beatmap outpu
globalSetting.PreserveReferencesHandling = PreserveReferencesHandling.Objects;

// should not let json decoder to read this line.
if (stream.PeekLine().Contains("// karaoke json file format v"))
if (stream.PeekLine()?.Contains("// karaoke json file format v") ?? false)
{
stream.ReadLine();
}
Expand Down

0 comments on commit fd13168

Please sign in to comment.