diff --git a/src/main/java/com/jagrosh/jmusicbot/commands/music/SeekCmd.java b/src/main/java/com/jagrosh/jmusicbot/commands/music/SeekCmd.java index 3645b56..002e752 100644 --- a/src/main/java/com/jagrosh/jmusicbot/commands/music/SeekCmd.java +++ b/src/main/java/com/jagrosh/jmusicbot/commands/music/SeekCmd.java @@ -58,6 +58,12 @@ public void doCommand(CommandEvent event) { return; } + minutes += seconds / 60; + seconds = seconds % 60; + + hours += minutes / 60; + minutes = minutes % 60; + seek_milliseconds += hours * 3600000 + minutes * 60000 + seconds * 1000; if (seek_milliseconds <= track_duration) { handler.getPlayer().getPlayingTrack().setPosition(seek_milliseconds);