Fix a bug with claim method returning False for already claimed drops
This commit is contained in:
1 parent
c072cd7899
commit
1af56199fc
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ class BaseDrop:
|
||||
|
||||
@property
|
||||
def can_claim(self) -> bool:
|
||||
return self.claim_id is not None and not self.is_claimed
|
||||
return self.claim_id is not None
|
||||
|
||||
def rewards_text(self, delim: str = ", ") -> str:
|
||||
return delim.join(self.rewards)
|
||||
|
||||
Reference in new issue
Block a user