Skip to content

Commit be8cf49

Browse files
feat: add get inventory export
1 parent 96ec7df commit be8cf49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

server/functions.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,3 +758,9 @@ function RemoveItem(identifier, item, amount, slot, reason)
758758
end
759759

760760
exports('RemoveItem', RemoveItem)
761+
762+
function GetInventory(identifier)
763+
return Inventories[identifier]
764+
end
765+
766+
exports('GetInventory', GetInventory)

0 commit comments

Comments
 (0)