diff --git a/modules/inventory/tgiann-inventory/client.lua b/modules/inventory/tgiann-inventory/client.lua index 9508c85..bef81e4 100644 --- a/modules/inventory/tgiann-inventory/client.lua +++ b/modules/inventory/tgiann-inventory/client.lua @@ -21,6 +21,10 @@ Inventory.GetItemInfo = function(item) return repackedTable end +Inventory.HasItem = function(item) + return tgiann:HasItem(item) +end + Inventory.GetImagePath = function(item) local pngPath = LoadResourceFile("inventory_images", string.format("html/images/%s.png", item)) local webpPath = LoadResourceFile("inventory_images", string.format("html/images/%s.webp", item)) @@ -44,4 +48,4 @@ Inventory.GetPlayerInventory = function() }) end return items -end \ No newline at end of file +end