Skip to content

Commit

Permalink
fix(client/inventory): invalid statebag index (#1881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scullyy authored Feb 6, 2025
1 parent 5a14823 commit 30e2abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/inventory/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if shared.networkdumpsters then
local model = GetEntityModel(object)
local isDumpster = Inventory.Dumpsters:includes(model)

state.state.isDumpster = isDumpster
state.isDumpster = isDumpster

if isDumpster then
FreezeEntityPosition(object, true)
Expand Down

0 comments on commit 30e2abf

Please sign in to comment.