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/slabs.lua | |
parent | 81f77ae97e7886982f958e12cc873037058fff52 (diff) |
allow passing paramtype2 to the nodes being created (#65)
Diffstat (limited to 'stairsplus/slabs.lua')
-rw-r--r-- | stairsplus/slabs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index 53bfa57..9fa2494 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -59,7 +59,7 @@ function stairsplus:register_slab(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 = ("%s (%d/16)"):format(desc_base, num) def.groups = stairsplus:prepare_groups(fields.groups) |