diff --git a/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java b/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java index d8f2386..3ac5c53 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java +++ b/src/main/java/land/chipmunk/chipmunkbot/commands/MusicCommand.java @@ -266,12 +266,9 @@ public class MusicCommand { return 1; } - public int pitch (CommandContext context) throws CommandSyntaxException { + public int pitch (CommandContext context) { final CommandSource source = context.getSource(); final SongPlayer songPlayer = source.client().songPlayer(); - final Song currentSong = songPlayer.currentSong(); - - if (currentSong == null) throw NO_SONG_IS_CURRENTLY_PLAYING.create(); final float pitch = getFloat(context, "pitch");