fix marsify hat

master
Aevann 2024-04-29 07:18:00 +03:00
parent 59f03dac70
commit a198d29cc8
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ class User(Base):
user_forced_hats = []
for k, val in forced_hats.items():
get = getattr(self, k)
if get and (get == True or get > 1):
if get and (get is True or get > 1):
if isinstance(val[0], tuple):
user_forced_hats.append(random.choice(val))
else: