mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-01 07:30:43 +02:00
allow passing paramtype2 to the nodes being created (#65)
This commit is contained in:
committed by
Hugo Locurcio
parent
81f77ae97e
commit
cf1b054a99
@ -88,7 +88,7 @@ function stairsplus:register_micro(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.groups = stairsplus:prepare_groups(fields.groups)
|
||||
def.description = desc
|
||||
|
Reference in New Issue
Block a user