Update functions.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-09-26 14:39:06 -07:00
1 parent 018bc15419
commit ca494fc88d
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ function Itemcheck(source, item, amount)
end
elseif inventory == 'ox' then
local has = exports.ox_inventory:GetItem(source, item , nil, true)
if has.count >= amount then
if has >= amount then
return true
else
Notifys(source, 'You Need ' .. amount .. ' Of ' .. GetLabels(item) .. ' To Do This', 'error')