Remove debug print in GetItemBySlot

Remove debug print statement from GetItemBySlot function.
This commit is contained in:
jim gordon authored and GitHub committed 2026-08-10 02:13:07 +01:00
1 parent a34c7ba245
commit 84918c19c2
1 file changed
+1 -2
+1 -2
View File
@@ -92,7 +92,6 @@ end
---@return table {weight, name, metadata, slot, label, count}
Inventory.GetItemBySlot = function(src, slot)
local slotData = inv:GetSlot(src, slot)
print("GetItemBySlot".. json.encode(slotData), {indent = true})
if not slotData then return {} end
return {
name = slotData.name,
@@ -244,4 +243,4 @@ Inventory.OpenPlayerInventory = function(src, target)
inv:OpenInventory(src, "player:", target)
end
return Inventory
return Inventory