Skip to content

Commit

Permalink
use loadItemSync instead of loadItem in player rest handler
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Nov 26, 2023
1 parent 642c01d commit 4448c8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class PlayerRestHandler(
}
} else {
val trackFuture = CompletableFuture<AudioTrack>()
context.audioPlayerManager.loadItem(
context.audioPlayerManager.loadItemSync(
(identifier as Omissible.Present).value,
object : AudioLoadResultHandler {
override fun trackLoaded(track: AudioTrack) {
Expand Down

0 comments on commit 4448c8d

Please sign in to comment.