Stop logging warnings for missing background images.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
396071dfbc
commit
5817217eb5
|
@ -286,6 +286,8 @@ public class Beatmap implements Comparable<Beatmap> {
|
||||||
try {
|
try {
|
||||||
Image bgImage = bgImageCache.get(this);
|
Image bgImage = bgImageCache.get(this);
|
||||||
if (bgImage == null) {
|
if (bgImage == null) {
|
||||||
|
if (!bg.isFile())
|
||||||
|
return false;
|
||||||
bgImage = new Image(bg.getAbsolutePath());
|
bgImage = new Image(bg.getAbsolutePath());
|
||||||
bgImageCache.put(bg, bgImage);
|
bgImageCache.put(bg, bgImage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user