From 4938821793cad136b46f251281de19ac5abb5d8b Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:06:03 -0700 Subject: [PATCH] Update functions.lua --- server/functions.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/functions.lua b/server/functions.lua index bfc99d0..5be0fa4 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -103,9 +103,8 @@ function Itemcheck(source, item, amount) end elseif inventory == 'ox' then local item = ox_inventory:GetItem(source, item, nil, false) - if item.count >= amount then - return true - end + if item.count >= amount then + return true else Notifys(source, 'You Need ' .. amount .. ' Of ' .. GetLabels(item) .. ' To Do This', 'error') return false