fix: parsing attributed description with no command runs

This commit is contained in:
ThetaDev 2022-11-03 12:10:52 +01:00
parent 099b53cc4f
commit 592e1d6386

View File

@ -1029,7 +1029,7 @@ public final class YoutubeParsingHelper {
final String content = attributedDescription.getString("content");
final JsonArray commandRuns = attributedDescription.getArray("commandRuns");
if (content == null || commandRuns.isEmpty()) {
if (content == null) {
return null;
}