Fix an issue with badges still being mined, even with the badge support option disabled

This commit is contained in:
DevilXD committed 2026-02-15 12:20:26 +01:00
1 parent f0b96b059c
commit b685b445e9
1 file changed
+3 -3
+3 -3
View File
@@ -395,9 +395,9 @@ class DropsCampaign:
@property
def eligible(self) -> bool:
return self.linked or (
self._twitch.settings.enable_badges_emotes and self.has_badge_or_emote
)
if self.has_badge_or_emote:
return self._twitch.settings.enable_badges_emotes
return self.linked
@cached_property
def has_badge_or_emote(self) -> bool: