Skip to content

Commit

Permalink
Merge pull request #1343 from tomson701/patch-1
Browse files Browse the repository at this point in the history
fix: ox_inventory setMaxWeight client-side sync
  • Loading branch information
Gellipapa authored Apr 13, 2024
2 parents b7a12ed + bea5236 commit 4e16dca
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 4e16dca

Please sign in to comment.