Merge pull request #201 from jimgordon20/main
Remove debug print in GetItemBySlot
This commit is contained in:
1 file changed
-1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user