Merge pull request #1865 from rwixy/black_money-fix

fix: update inventory accounts convar to include black_money
This commit is contained in:
_Not_
2026-08-19 11:09:15 -05:00
committed by GitHub
@@ -15,10 +15,10 @@ local requiredMethods = {
}
---Parses the inventory:accounts convar to build a lookup table.
---Uses the same default and JSON format as ox_inventory.
---Uses the same default and JSON format as ox_inventory ["money", "black_money"].
---@return table<string, boolean>
local function getAccountList()
local convar = GetConvar("inventory:accounts", '["money"]')
local convar = GetConvar("inventory:accounts", '["money", "black_money"]')
local ok, list = pcall(json.decode, convar)
if not ok or type(list) ~= "table" then