mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
fix(es_extended/server/main): player doesnt have to be in both tables.
This commit is contained in:
@@ -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]])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user