From 11ed0c5eb191bb01cbb4ea13bebf9b6953be6888 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Mon, 28 Aug 2023 17:02:53 +0700 Subject: [PATCH] stop it --- .../land/chipmunk/chipmunkbot/commands/MusicCommand.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java b/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java index a5d5be5..b78c4b7 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java +++ b/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java @@ -96,8 +96,9 @@ public class MusicCommand { final Path path = getPath(context, "location"); - if (path != null) songPlayer.loadSong(path); - else songPlayer.loadSong(getUrl(context, "location")); + songPlayer.loadSong(path); +// if (path != null) songPlayer.loadSong(path); +// else songPlayer.loadSong(getUrl(context, "location")); return 1; }