Fix an issue with badges still being mined, even with the badge support option disabled
This commit is contained in:
1 parent
f0b96b059c
commit
b685b445e9
1 file changed
+3
-3
+3
-3
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user