undoing esx need to talk to newb for convention

This commit is contained in:
gononono64 committed 2025-01-26 11:24:40 -06:00
1 parent b3720a0bfc
commit a30b63a2cd
1 file changed
+1 -1
+1 -1
View File
@@ -202,7 +202,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
ESX.RegisterUsableItem(itemName, func)
end