Fix missing queries data

This commit is contained in:
coookie1010
2022-02-04 09:58:50 +08:00
parent 309cde5887
commit 099216a370
+1 -1
View File
@@ -368,7 +368,7 @@ function saveIdentityToDatabase(identifier, identity)
end
function deleteIdentityFromDatabase(xPlayer)
MySQL.query.await('UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ?, skin = ? WHERE identifier = ?', {nil, nil, nil, nil, nil, xPlayer.identifier})
MySQL.query.await('UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ?, skin = ? WHERE identifier = ?', {nil, nil, nil, nil, nil, nil, xPlayer.identifier})
if Config.FullCharDelete then
MySQL.update.await('UPDATE addon_account_data SET money = 0 WHERE account_name IN (?) AND owner = ?', {{'bank_savings', 'caution'}, xPlayer.identifier})