From bf9de3e70920a8b2af1bb4e9f6bff043d69c038f Mon Sep 17 00:00:00 2001 From: solareon <769465+solareon@users.noreply.github.com> Date: Sun, 23 Jun 2024 16:36:20 +0200 Subject: [PATCH] fix(server): linter errors --- server/main.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/main.lua b/server/main.lua index 6d14a19..233f22b 100644 --- a/server/main.lua +++ b/server/main.lua @@ -2,7 +2,6 @@ local config = require 'config.server' local sharedConfig = require 'config.shared' local robberyBusy = false local timeOut = false -local ITEMS = exports.ox_inventory:Items() --- This will convert a table's keys into an array --- @param tbl table @@ -395,7 +394,7 @@ end) lib.callback.register('thermite:server:check', function(source) local player = exports.qbx_core:GetPlayer(source) if not player then return false end - if exports.ox_inventory:RemoveItem(src, 'thermite', 1) then + if exports.ox_inventory:RemoveItem(source, 'thermite', 1) then return true else return false