mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Revert "Merge pull request #108 from 0xDEMXN/group"
This reverts commit1e905415e5, reversing changes made to0f3aaf74ad.
This commit is contained in:
@@ -70,11 +70,6 @@ function createESXPlayer(identifier, playerId, data)
|
||||
defaultGroup = "user"
|
||||
end
|
||||
|
||||
if Config.Multichar and not identifier:find('char1:') then
|
||||
local char1 = MySQL.single.await(loadPlayer, {identifier:gsub('char%d+:', 'char1:')})
|
||||
if char1 then defaultGroup = char1.group end
|
||||
end
|
||||
|
||||
if not Config.Multichar then
|
||||
MySQL.prepare(newPlayer, { json.encode(accounts), identifier, defaultGroup }, function()
|
||||
loadESXPlayer(identifier, playerId, true)
|
||||
|
||||
Reference in New Issue
Block a user