mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 16:04:39 +00:00
old resource loading was buggy?
This commit is contained in:
parent
fa26d83aae
commit
2305247ac1
2 changed files with 3 additions and 5 deletions
|
|
@ -91,7 +91,7 @@ public class WaveData {
|
|||
try {
|
||||
return create(
|
||||
AudioSystem.getAudioInputStream(
|
||||
new BufferedInputStream(ClassLoader.getSystemClassLoader().getResourceAsStream(filepath))));
|
||||
new BufferedInputStream(WaveData.class.getClassLoader().getResourceAsStream(filepath))));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue