From 1d7ffc938c6b3a334467053557bf8ffd3c066d04 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Sat, 4 May 2024 10:56:00 -0700 Subject: [PATCH] Update cornerselling.lua --- client/cornerselling.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cornerselling.lua b/client/cornerselling.lua index a7f0d5d..b9b3c5a 100644 --- a/client/cornerselling.lua +++ b/client/cornerselling.lua @@ -126,7 +126,7 @@ function Cornersell() end RegisterNetEvent('md-drugs:client:cornerselling', function() - if GetCops(QBConfig.MinimumDrugSalePolice) then return end + if not GetCops(QBConfig.MinimumDrugSalePolice) then return end QBCore.Functions.TriggerCallback('md-drugs:server:cornerselling:getAvailableDrugs', function(item, amount) if item ~= 'nothing' then if sell then @@ -144,4 +144,4 @@ RegisterNetEvent('md-drugs:client:cornerselling', function() Notify('You Cant Sell Air', 'error') end end) -end) \ No newline at end of file +end)