Feat: Tribe equality on name and add tests
This commit is contained in:
@@ -23,5 +23,5 @@ class Tribe:
|
||||
|
||||
def __eq__(self, other: object) -> bool:
|
||||
if isinstance(other, Tribe):
|
||||
return self.name == other.name and self.level == other.level
|
||||
return self.name == other.name
|
||||
return False
|
||||
|
Reference in New Issue
Block a user