From c6794272e5bbbd27a1ffb43994f8db4397554dce Mon Sep 17 00:00:00 2001 From: "Tomachi [ICHIGO]" Date: Fri, 20 Jan 2023 13:08:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9F=B3=E5=A3=B0=E3=82=92=E3=82=AD?= =?UTF-8?q?=E3=83=A5=E3=83=BC=E6=8C=BF=E5=85=A5=E3=81=99=E3=82=8B=E3=81=8B?= =?UTF-8?q?=E3=81=A9=E3=81=86=E3=81=8B=E3=81=AE=E5=87=A6=E7=90=86=E3=82=92?= =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jaoafa/jdavcspeaker/Player/TrackScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jaoafa/jdavcspeaker/Player/TrackScheduler.java b/src/main/java/com/jaoafa/jdavcspeaker/Player/TrackScheduler.java index 956e442..61b9800 100644 --- a/src/main/java/com/jaoafa/jdavcspeaker/Player/TrackScheduler.java +++ b/src/main/java/com/jaoafa/jdavcspeaker/Player/TrackScheduler.java @@ -37,7 +37,7 @@ public TrackScheduler(AudioPlayer player) { * @param track The track to play or add to queue. */ public void queue(AudioTrack track) { - if (player.startTrack(track, true)) { + if (this.queue.isEmpty() && player.startTrack(track, true)) { // トラックが開始された場合 reactionSpeaking(track); } else {