Skip to content

Commit

Permalink
fix(client/qb): removing items from metatable (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed Feb 9, 2023
1 parent b144455 commit fcbfac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/framework/qb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ local playerItems = setmetatable({}, {
})

local function setPlayerItems()
playerItems = {}
table.wipe(playerItems)

for _, item in pairs(playerData.items) do
playerItems[item.name] = item.amount
end
Expand Down

0 comments on commit fcbfac7

Please sign in to comment.