mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Merge pull request #1447 from EinS4ckZwiebeln/patch-01
fix(esx_skin): Validate player skin before saving to db
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
RegisterNetEvent("esx_skin:save", function(skin)
|
||||
if not skin or type(skin) ~= "table" then
|
||||
return
|
||||
end
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
if not ESX.GetConfig().CustomInventory then
|
||||
|
||||
Reference in New Issue
Block a user