From a8242c610ee978aa96d8e0da16c393e56dc13db2 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Mon, 8 May 2023 07:31:23 +0200 Subject: [PATCH] Fixed findSlots --- src/itemscript.lua | 1 + 1 file changed, 1 insertion(+) 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.