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 @property
def eligible(self) -> bool: def eligible(self) -> bool:
return self.linked or ( if self.has_badge_or_emote:
self._twitch.settings.enable_badges_emotes and self.has_badge_or_emote return self._twitch.settings.enable_badges_emotes
) return self.linked
@cached_property @cached_property
def has_badge_or_emote(self) -> bool: def has_badge_or_emote(self) -> bool: