reverting until newb comes around. Switched qbox to match

Im not 100% on which convention he wants
This commit is contained in:
gononono64 committed 2025-01-26 11:22:53 -06:00
1 parent 840512162c
commit b3720a0bfc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ Framework.RegisterUsableItem = function(itemName, cb)
local func = function(src, item, itemData)
itemData = itemData or item
itemData.metadata = itemData.metadata or itemData.info or {}
cb(src, itemData)
cb(src, itemName, itemData)
end
QBCore.Functions.CreateUseableItem(itemName, func)
end