fix errors

pull/83/head
Aevann1 2022-12-19 23:00:48 +02:00
parent 5c6adbc3ab
commit 248c7ef50d
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ def _populate_awards():
AWARDS_ENABLED.update(temp)
for award in EVENT_AWARDS:
EVENT_AWARDS[award]['ghost'] = EVENT_AWARDS[award]['cosmetic']
if award in AWARDS_DISABLED:
AWARDS_DISABLED.remove(award)

View File

@ -387,7 +387,7 @@ def execute_blackjack_custom(v, target, body, type):
def execute_blackjack(v, target, body, type):
if not execute_blackjack_custom(v, target, body, type): return False
if not body and not blackjack and not blackjack2: return True
if not body or (not blackjack and not blackjack2): return True
if any(i in body.lower() for i in blackjack.split()) or all(i in body.lower() for i in blackjack2.split()):
v.shadowbanned = AUTOJANNY_ID