yeeted itemName

Yeeted itemName because redundant and example given previously by newb was this:

```lua
 ...
    function(src, itemData)
 ...
```
This commit is contained in:
gononono64 committed 2025-01-26 12:07:26 -06:00
1 parent a30b63a2cd
commit 2ee6286c7a
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ Framework.RegisterUsableItem = function(itemName, cb)
exports(itemName, function(event, item, inventory, slot, data)
local slotData = exports.ox_inventory:GetSlot(inventory.id, slot)
if event == 'usingItem' then
cb(inventory.id, item, slotData)
cb(inventory.id, slotData)
return false
end
end)