Revert phone number changes

This commit is contained in:
Kakarot
2022-06-24 17:11:15 -05:00
parent 61b279a24f
commit 82ac1bec32
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ end
function QBCore.Functions.GetPlayerByPhone(number)
for src, _ in pairs(QBCore.Players) do
if QBCore.Players[src].PlayerData.charinfo.phone == tonumber(number) then
if QBCore.Players[src].PlayerData.charinfo.phone == number then
return QBCore.Players[src]
end
end