fix (es_extended/client): fix floating pickups

This commit is contained in:
Mycroft
2022-04-29 16:06:21 +01:00
parent e0e54f144d
commit e829bf94a4
+1 -1
View File
@@ -304,7 +304,7 @@ if not Config.OxInventory then
RegisterNetEvent('esx:createMissingPickups')
AddEventHandler('esx:createMissingPickups', function(missingPickups)
for pickupId, pickup in pairs(missingPickups) do
TriggerEvent('esx:createPickup', pickupId, pickup.label, pickup.coords, pickup.type, pickup.name, pickup.components, pickup.tintIndex)
TriggerEvent('esx:createPickup', pickupId, pickup.label, pickup.coords - vector3(0,0, 1.0), pickup.type, pickup.name, pickup.components, pickup.tintIndex)
end
end)
end