mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-29 20:04:18 +01:00
now whines when filepath is invalid
This commit is contained in:
parent
3d6dde5df6
commit
7b759d32db
|
|
@ -95,6 +95,7 @@ public class WaveData {
|
|||
AudioSystem.getAudioInputStream(
|
||||
new BufferedInputStream(WaveData.class.getClassLoader().getResourceAsStream(filepath))));
|
||||
} catch (Exception e) {
|
||||
org.lwjgl.Sys.log("Unable to load file: " + filepath);
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue