fix(es_extended/server/main): player doesnt have to be in both tables.

This commit is contained in:
Kenshin13
2025-06-14 20:39:44 +02:00
parent 20e36fa15a
commit 5e6fbd1661
+1 -1
View File
@@ -121,7 +121,7 @@ if not Config.Multichar then
local xPlayer = ESX.GetPlayerFromIdentifier(identifier)
if xPlayer and ESX.Players[xPlayer.playerId] then
if xPlayer then
local xPlayerId = xPlayer.playerId
local isExist = DoesPlayerExist(xPlayerId --[[@as string]])