fix luacheck fix crash

This commit is contained in:
unknown 2022-04-16 14:03:40 -04:00
parent c225dfad61
commit 84ef47d2ef
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ local function punch_filter(data, filtpos, filtnode, msg)
local fromnode = minetest.get_node(frompos)
if not fromnode then return end
local fromdef = minetest.registered_nodes[fromnode.name]
if not fromdef then return end
if not fromdef or not fromdef.tube then return end
local fromtube = table.copy(fromdef.tube)
local input_special_cases = {
["technic:mv_electric_furnace"] = "dst",