diff --git a/storage/init.lua b/storage/init.lua index 1003eb7..3763e44 100644 --- a/storage/init.lua +++ b/storage/init.lua @@ -79,7 +79,7 @@ end function Storage:find(query) local result = {} for _,chest in ipairs(self) do - for _,stack in chest:find(query) do + for _,stack in ipairs(chest:find(query)) do table.insert(result, stack) end end