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