Update main.lua (#494)

This commit is contained in:
SyncEye
2020-10-05 01:12:12 +02:00
committed by GitHub
parent b846c62724
commit 9c99e71e2f
+9 -9
View File
@@ -175,16 +175,16 @@ ESX.RegisterServerCallback('esx_policejob:getOtherPlayerData', function(source,
if status then
data.drunk = ESX.Math.Round(status.percent)
end
if Config.EnableLicenses then
TriggerEvent('esx_license:getLicenses', target, function(licenses)
data.licenses = licenses
cb(data)
end)
else
cb(data)
end
end)
if Config.EnableLicenses then
TriggerEvent('esx_license:getLicenses', target, function(licenses)
data.licenses = licenses
cb(data)
end)
else
cb(data)
end
end
end)