1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-09-28 07:10:36 +02:00

fix luacheck fix crash

This commit is contained in:
unknown 2022-04-16 14:03:40 -04:00
parent c225dfad61
commit 84ef47d2ef

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",