diff --git a/src/itemscript.lua b/src/itemscript.lua index 6e5e669..08dbe19 100644 --- a/src/itemscript.lua +++ b/src/itemscript.lua @@ -268,6 +268,7 @@ function itemscript.findSlots(filterExpr) table.insert(slots, i) end end + return slots end -- Gets the total number of items in the turtle's inventory that match the given expression.