diff options
author | Matt Kohls <mattkohls13@gmail.com> | 2018-10-30 21:04:06 -0400 |
---|---|---|
committer | Matt Kohls <mattkohls13@gmail.com> | 2018-10-30 21:04:06 -0400 |
commit | e8349bd221233f95eeb2205ddfd6df42f3a39133 (patch) | |
tree | ee0a3ddf5c110d4e0a874fec31f1cb7d735e4381 | |
parent | f78dc260bc113e458020cfacaacd26fb4c2a4a27 (diff) | |
download | SoundChan-bugfix/nothing-found-by-null.tar.gz SoundChan-bugfix/nothing-found-by-null.tar.bz2 SoundChan-bugfix/nothing-found-by-null.zip |
Checking for sound file not found and returning proper stringbugfix/nothing-found-by-null
-rw-r--r-- | src/main/java/soundchan/LocalAudioManager.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/soundchan/LocalAudioManager.java b/src/main/java/soundchan/LocalAudioManager.java index 4b16850..28d25b9 100644 --- a/src/main/java/soundchan/LocalAudioManager.java +++ b/src/main/java/soundchan/LocalAudioManager.java @@ -58,6 +58,9 @@ public class LocalAudioManager { path = ""; } } + if(path.contentEquals(filepath + "/null")) { + return ""; + } return path; } |