Remove debug print in GetItemBySlot
Remove debug print statement from GetItemBySlot function.
This commit is contained in:
1 parent
a34c7ba245
commit
84918c19c2
1 file changed
+1
-2
@@ -92,7 +92,6 @@ end
|
|||||||
---@return table {weight, name, metadata, slot, label, count}
|
---@return table {weight, name, metadata, slot, label, count}
|
||||||
Inventory.GetItemBySlot = function(src, slot)
|
Inventory.GetItemBySlot = function(src, slot)
|
||||||
local slotData = inv:GetSlot(src, slot)
|
local slotData = inv:GetSlot(src, slot)
|
||||||
print("GetItemBySlot".. json.encode(slotData), {indent = true})
|
|
||||||
if not slotData then return {} end
|
if not slotData then return {} end
|
||||||
return {
|
return {
|
||||||
name = slotData.name,
|
name = slotData.name,
|
||||||
@@ -244,4 +243,4 @@ Inventory.OpenPlayerInventory = function(src, target)
|
|||||||
inv:OpenInventory(src, "player:", target)
|
inv:OpenInventory(src, "player:", target)
|
||||||
end
|
end
|
||||||
|
|
||||||
return Inventory
|
return Inventory
|
||||||
Reference in new issue
Block a user