qe
This commit is contained in:
1 parent
ab1a22d113
commit
68407ba4c3
1 file changed
+1
-1
@@ -6,7 +6,7 @@ local origen_inventory = exports.origen_inventory
|
|||||||
|
|
||||||
Inventory.AddItem = function(src, item, count, slot, metadata)
|
Inventory.AddItem = function(src, item, count, slot, metadata)
|
||||||
if not origen_inventory:CanCarryItem(src, item, count) then
|
if not origen_inventory:CanCarryItem(src, item, count) then
|
||||||
return Bridge.Notify.SendNotify(src, "Inventory Full", "error", 5000)
|
return Bridge.notify.SendNotify(src, "Inventory Full", "error", 5000)
|
||||||
end
|
end
|
||||||
return origen_inventory:AddItem(src, item, count, nil, nil, metadata)
|
return origen_inventory:AddItem(src, item, count, nil, nil, metadata)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user