diff --git a/src/itdelatrisu/opsu/beatmap/BeatmapParser.java b/src/itdelatrisu/opsu/beatmap/BeatmapParser.java index ef403b03..be729980 100644 --- a/src/itdelatrisu/opsu/beatmap/BeatmapParser.java +++ b/src/itdelatrisu/opsu/beatmap/BeatmapParser.java @@ -134,7 +134,7 @@ public class BeatmapParser { // check if beatmap is cached String path = String.format("%s/%s", dir.getName(), file.getName()); - if (map.containsKey(path)) { + if (map != null && map.containsKey(path)) { // check last modified times long lastModified = map.get(path); if (lastModified == file.lastModified()) {