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 New Issue