Skip to content

Commit

Permalink
fix(server): linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jun 23, 2024
1 parent b7dcfde commit bf9de3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf9de3e

Please sign in to comment.