Update events.lua

This commit is contained in:
Kakarot
2022-06-16 11:45:32 -05:00
committed by GitHub
parent d57181e191
commit 3f04db2df0
-1
View File
@@ -213,7 +213,6 @@ end)
QBCore.Functions.CreateCallback('QBCore:HasItem', function(source, cb, items, amount)
local retval = false
if items == nil then return cb(true) end
local Player = QBCore.Functions.GetPlayer(source)
if not Player then return cb(false) end
local isTable = type(items) == 'table'