Fix iterator function in storage search
This commit is contained in:
parent
0dbbf36455
commit
d0929cf5c8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user