Skip to content

Commit fb542e6

Browse files
Remove duplicate "for" (#74)
1 parent 7e8b4f7 commit fb542e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/main/java/dev/lavalink/youtube/clients/skeleton/NonMusicClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected JsonBrowser loadTrackInfoFromInnertube(@NotNull YoutubeAudioSourceMana
119119
// An exception will be thrown if we can't handle it.
120120
if (playabilityStatus == PlayabilityStatus.NON_EMBEDDABLE) {
121121
if (isEmbedded()) {
122-
throw new FriendlyException("Loading information for for video failed", Severity.COMMON,
122+
throw new FriendlyException("Loading information for video failed", Severity.COMMON,
123123
new RuntimeException("Non-embeddable video cannot be loaded by embedded client"));
124124
}
125125

@@ -130,7 +130,7 @@ protected JsonBrowser loadTrackInfoFromInnertube(@NotNull YoutubeAudioSourceMana
130130
JsonBrowser videoDetails = json.get("videoDetails");
131131

132132
if (videoDetails.isNull()) {
133-
throw new FriendlyException("Loading information for for video failed", Severity.SUSPICIOUS,
133+
throw new FriendlyException("Loading information for video failed", Severity.SUSPICIOUS,
134134
new RuntimeException("Missing videoDetails block, JSON: " + json.format()));
135135
}
136136

0 commit comments

Comments
 (0)