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)