Skip to content

Commit

Permalink
Only disable sponsorblock if it is actually disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Jun 29, 2024
1 parent 2f29e5f commit 77f0d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion music/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
subprojects {
version = "3.8.3-SNAPSHOT"
version = "3.8.4-SNAPSHOT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class MusicPlayer(val link: Link, private val guild: GuildBehavior) : Link by li
Category.Selfpromo,
Category.Sponsor
)
} else if (categories.isNotEmpty()) {
} else if (categories.isNotEmpty() && !settings.useSponsorBlock) {
player.disableSponsorblock()
}
}
Expand Down

0 comments on commit 77f0d57

Please sign in to comment.