Skip to content

Commit

Permalink
fix(server): Remove notification in CanCarryItem
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamzky committed Apr 26, 2024
1 parent 2e4e38f commit d8bb6e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/inventory/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,6 @@ function Inventory.CanCarryItem(inv, item, count, metadata)
local newWeight = inv.weight + (weight * count)

if newWeight > inv.maxWeight then
TriggerClientEvent('ox_lib:notify', inv.id, { type = 'error', description = locale('cannot_carry') })
return false
end

Expand Down

0 comments on commit d8bb6e8

Please sign in to comment.