Fixed a null pointer exception. (fixes #162)
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -132,7 +132,7 @@ public class BeatmapParser {
|
||||
return name.toLowerCase().endsWith(".osu");
|
||||
}
|
||||
});
|
||||
if (files.length < 1)
|
||||
if (files == null || files.length < 1)
|
||||
continue;
|
||||
|
||||
// create a new group entry
|
||||
|
||||
Reference in New Issue
Block a user