check for existance of list param

I'm not sure this actually fixes the problem.
The issue was raised because of broken map data.
This commit is contained in:
Luke aka SwissalpS
2025-07-02 09:12:02 +02:00
parent 79dca16d3b
commit 3c79fa21cb

View File

@ -558,9 +558,10 @@ local function put_to_inputinv(pos, node, filtmeta, list)
local frompos = vector.subtract(pos, dir)
local fromnode = core.get_node(frompos)
local fromdef = core.registered_nodes[fromnode.name]
if not fromdef or not fromdef.tube then
if not (fromdef and fromdef.tube and list) then
return
end
local fromtube = fromdef.tube
local frominv
if fromtube.return_input_invref then