Skip to content

Commit

Permalink
Merge pull request #1196 from Arctos2win/patch-9
Browse files Browse the repository at this point in the history
update little thing
  • Loading branch information
Gellipapa authored Sep 2, 2023
2 parents 7c49c8a + 87e94c8 commit ccf307d
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 ccf307d

Please sign in to comment.