Skip to content

Commit

Permalink
fix(server): usedItem event invid
Browse files Browse the repository at this point in the history
duh
  • Loading branch information
thelindat committed Dec 30, 2023
1 parent ca904c3 commit b94196b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ RegisterNetEvent('ox_inventory:usedItemInternal', function(slot)
return
end

TriggerEvent('ox_inventory:usedItem', item.name, item.slot, next(item.metadata) and item.metadata)
TriggerEvent('ox_inventory:usedItem', inventory.id, item.name, item.slot, next(item.metadata) and item.metadata)

inventory.usingItem = nil
end)
Expand Down

0 comments on commit b94196b

Please sign in to comment.