mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
Fix
This commit is contained in:
@@ -46,6 +46,6 @@ module.exports = class VoiceDispatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get canPlay() {
|
get canPlay() {
|
||||||
return this.player.state === AudioPlayerStatus.Idle;
|
return this.player.state.status === AudioPlayerStatus.Idle;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user