Skip to content
This repository was archived by the owner on Nov 26, 2023. It is now read-only.

Commit 6475b07

Browse files
committed
Ehhh right
1 parent 5497e1e commit 6475b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/dunctebot/sourcemanagers/DuncteBotSources.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static void registerCustom(AudioPlayerManager playerManager, String speec
3131
youtubeSource.setPlaylistPageCount(playlistPageCount);
3232
youtubeSource.getMainHttpConfiguration()
3333
.setHttpContextFilter(
34-
new YoutubeContextFilterOverride(updateYoutubeData, youtubeSource.getHttpInterface())
34+
YoutubeContextFilterOverride.getOrCreate(updateYoutubeData, youtubeSource.getHttpInterface())
3535
);
3636

3737
playerManager.registerSourceManager(new ClypitAudioSourceManager());

0 commit comments

Comments
 (0)