From be8cf49a3ea939e319df38f3f22e88f67fe0407c Mon Sep 17 00:00:00 2001 From: Joel <34402846+Qwerty1Verified@users.noreply.github.com> Date: Wed, 2 Oct 2024 23:15:37 -0400 Subject: [PATCH] feat: add get inventory export --- server/functions.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/functions.lua b/server/functions.lua index 1b2244f39..4c6ef63b4 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -758,3 +758,9 @@ function RemoveItem(identifier, item, amount, slot, reason) end exports('RemoveItem', RemoveItem) + +function GetInventory(identifier) + return Inventories[identifier] +end + +exports('GetInventory', GetInventory)