Skip to content

Commit 0e67279

Browse files
committed
fixed breaking change in new SoundCloudAudioSourceManager
1 parent 1e57ea0 commit 0e67279

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

main/src/main/java/com/sedmelluq/discord/lavaplayer/source/soundcloud/SoundCloudAudioSourceManager.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,21 @@ public static Builder builder() {
9090
return new Builder();
9191
}
9292

93+
/**
94+
* Create an instance.
95+
*
96+
* @param allowSearch Whether to allow search queries as identifiers
97+
*/
98+
public SoundCloudAudioSourceManager(
99+
boolean allowSearch,
100+
SoundCloudDataReader dataReader,
101+
SoundCloudDataLoader dataLoader,
102+
SoundCloudFormatHandler formatHandler,
103+
SoundCloudPlaylistLoader playlistLoader,
104+
) {
105+
this(allowSearch, dataReader, dataLoader, formatHandler, playlistLoader, false);
106+
}
107+
93108
/**
94109
* Create an instance.
95110
*

0 commit comments

Comments
 (0)