further tubing improvement

master
Joachim Stolberg 2018-09-23 23:10:01 +02:00
parent 98f40e13a4
commit 36fecabac4
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ end
local function is_known_node(pointed_thing)
if pointed_thing.type == "node" then
local node = minetest.get_node(pointed_thing.under)
if tubelib.KnownNodes[node.name] and not tubelib.TubeNames[node.name] then
if tubelib.KnownNodes[node.name] then
return pointed_thing.under
end
end