This commit is contained in:
Chayapak 2023-04-11 15:09:47 +07:00
parent 4cfd0a15f9
commit a1c5a23ac0

View file

@ -303,7 +303,7 @@ public class MusicCommand implements Command {
final long milliseconds;
try {
milliseconds = Long.parseLong(args[1]) / 1000;
milliseconds = Long.parseLong(args[1]) * 1000;
} catch (NumberFormatException e) {
return Component.text("Invalid timestamp").color(NamedTextColor.RED);
}