Skip to content

Commit

Permalink
update little thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctos2win authored Sep 2, 2023
1 parent 7c49c8a commit 87e94c8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions [core]/esx_multicharacter/server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ local function GetIdentifier(source)
end

local identifier = GetPlayerIdentifierByType(source, PRIMARY_IDENTIFIER)

if not identifier then
return
end

identifier = identifier:gsub(PRIMARY_IDENTIFIER .. ':', '')
return identifier
return identifier and identifier:gsub(PRIMARY_IDENTIFIER .. ':', '')
end

if next(ESX.Players) then
Expand Down

0 comments on commit 87e94c8

Please sign in to comment.