From ee27f874c0dada344ec10185a08071e8c5514526 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:24:47 +0700 Subject: [PATCH] FIX folder loading --- .../chipmunk/chayapak/chomens_bot/song/SongLoaderRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/song/SongLoaderRunnable.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/song/SongLoaderRunnable.java index bab5a63..a40e377 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/song/SongLoaderRunnable.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/song/SongLoaderRunnable.java @@ -95,7 +95,7 @@ public class SongLoaderRunnable implements Runnable { } for (Converter converter : converters) { - if (song != null) break; + if (song != null && !isFolder) break; try { song = converter.getSongFromBytes(bytes, name, bot);