diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-26 16:11:45 -0500 |
---|---|---|
committer | Hugo Locurcio <hugo.l@openmailbox.org> | 2017-01-26 22:11:45 +0100 |
commit | cf1b054a998a67b06e97c2e022537bf8516abdfb (patch) | |
tree | 10f821e2350e5db78c086df18151377b377f8539 /stairsplus/panels.lua | |
parent | 81f77ae97e7886982f958e12cc873037058fff52 (diff) |
allow passing paramtype2 to the nodes being created (#65)
Diffstat (limited to 'stairsplus/panels.lua')
-rw-r--r-- | stairsplus/panels.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stairsplus/panels.lua b/stairsplus/panels.lua index df4e2bf..66e736d 100644 --- a/stairsplus/panels.lua +++ b/stairsplus/panels.lua @@ -88,7 +88,7 @@ function stairsplus:register_panel(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) |