mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
fix(server/main): fix lint errors
This commit is contained in:
@@ -82,12 +82,7 @@ function createESXPlayer(identifier, playerId, data)
|
||||
defaultGroup = "admin"
|
||||
end
|
||||
|
||||
local parameters = {}
|
||||
if not Config.Multichar then
|
||||
parameters = { json.encode(accounts), identifier, defaultGroup }
|
||||
else
|
||||
parameters = { json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height }
|
||||
end
|
||||
local parameters = Config.Multichar and { json.encode(accounts), identifier, defaultGroup, data.firstname, data.lastname, data.dateofbirth, data.sex, data.height } or { json.encode(accounts), identifier, defaultGroup }
|
||||
|
||||
if Config.StartingInventoryItems then
|
||||
table.insert(parameters, json.encode(Config.StartingInventoryItems))
|
||||
|
||||
Reference in New Issue
Block a user