forked from ChomeNS/chomens-bot-java
FIX folder loading
This commit is contained in:
parent
d1b09cdd6c
commit
ee27f874c0
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class SongLoaderRunnable implements Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Converter converter : converters) {
|
for (Converter converter : converters) {
|
||||||
if (song != null) break;
|
if (song != null && !isFolder) break;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
song = converter.getSongFromBytes(bytes, name, bot);
|
song = converter.getSongFromBytes(bytes, name, bot);
|
||||||
|
|
Loading…
Reference in a new issue