forked from rDrama/rDrama
1
0
Fork 0

infinite currency

master
Aevann 2024-03-11 21:32:46 +02:00
parent c98a2d06c9
commit 79c1723292
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class User(Base):
else:
subtracted_mbux = self.marseybux
subtracted_coins = amount - subtracted_mbux
if subtracted_coins > self.coins:
if subtracted_coins > self.coins and self.admin_level < PERMS['INFINITE_CURRENCY'] and self.id != 48:
return False
if self.admin_level < PERMS['INFINITE_CURRENCY'] and self.id != 48: