Skip to content

Commit

Permalink
fix: ox_inventory setMaxWeight client-side sync
Browse files Browse the repository at this point in the history
  • Loading branch information
tomson701 authored Apr 7, 2024
1 parent b887903 commit bea5236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Core.PlayerFunctionOverrides.OxInventory = {
return function(newWeight)
self.maxWeight = newWeight
self.triggerEvent("esx:setMaxWeight", self.maxWeight)
return Inventory.Set(self.source, "maxWeight", newWeight)
return Inventory.SetMaxWeight(self.source, newWeight)
end
end,

Expand Down

0 comments on commit bea5236

Please sign in to comment.