mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
fix(legacy/multichar): Check if multichar is defined
This commit is contained in:
+2
-2
@@ -2,10 +2,10 @@ ESX = nil
|
||||
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
|
||||
local playerIdentity = {}
|
||||
local alreadyRegistered = {}
|
||||
local multichar = ESX.GetConfig().Multichar or false
|
||||
local multichar = ESX.GetConfig().Multichar
|
||||
|
||||
function getIdentifier(playerId)
|
||||
if multichar then
|
||||
if multichar ~= nil then
|
||||
return ESX.GetIdentifier(playerId)
|
||||
else
|
||||
ESX.GetIdentifier = function(playerId)
|
||||
|
||||
Reference in New Issue
Block a user