Merge pull request #734 from iSentrie/patch-8

fix(es_extended): allow set account to 0 too
This commit is contained in:
P Gergő
2022-12-15 13:25:55 +01:00
committed by GitHub
+1 -1
View File
@@ -205,7 +205,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