summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoplace_tubes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoplace_tubes.lua b/autoplace_tubes.lua
index 3b95c34..f7f7eb7 100644
--- a/autoplace_tubes.lua
+++ b/autoplace_tubes.lua
@@ -29,7 +29,7 @@ end
--a function for determining which side of the node we are on
local function nodeside(node, tubedir)
--get a vector pointing back
- local backdir = minetest.facedir_to_dir(node.param2) or {}
+ local backdir = minetest.facedir_to_dir(node.param2)
--check whether the vector is equivalent to the tube direction; if it is, the tube's on the backside
if backdir.x == tubedir.x and backdir.y == tubedir.y and backdir.z == tubedir.z then