From cf1b054a998a67b06e97c2e022537bf8516abdfb Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 26 Jan 2017 16:11:45 -0500 Subject: allow passing paramtype2 to the nodes being created (#65) --- stairsplus/stairs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stairsplus/stairs.lua') diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua index 6609466..fc47dbd 100644 --- a/stairsplus/stairs.lua +++ b/stairsplus/stairs.lua @@ -128,7 +128,7 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) end def.drawtype = "nodebox" def.paramtype = "light" - def.paramtype2 = "facedir" + def.paramtype2 = def.paramtype2 or "facedir" def.on_place = minetest.rotate_node def.description = desc def.groups = stairsplus:prepare_groups(fields.groups) -- cgit v1.2.3