logic fix

This commit is contained in:
iSentrie
2022-10-06 19:17:25 +03:00
committed by GitHub
parent c8f062b4ff
commit 0200c82467
+1 -1
View File
@@ -177,7 +177,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money))
return
end
if money >= 0 then
if money > 0 then
local account = self.getAccount(accountName)
if account then