mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 03:01:31 +00:00
fix(es_extended/server/classes/vehicle): properly parse vehicleProps
This commit is contained in:
@@ -35,7 +35,7 @@ Core.vehicleClass = {
|
||||
if not vehicleProps then
|
||||
return
|
||||
end
|
||||
vehicleProps = json.decode(vehicleProps.vehicle)
|
||||
vehicleProps = json.decode(vehicleProps)
|
||||
|
||||
if type(vehicleProps.model) ~= "number" then
|
||||
model = joaat(model)
|
||||
|
||||
Reference in New Issue
Block a user