forked from MineClone5/MineClone5
Make doors appear in redstone category of creative
This commit is contained in:
parent
51db4a21ed
commit
85c304a0c8
|
@ -46,6 +46,7 @@ function mcl_doors:register_door(name, def)
|
||||||
description = def.description,
|
description = def.description,
|
||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
groups = { mesecon_conductor_craftable = 1 },
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if not pointed_thing.type == "node" then
|
if not pointed_thing.type == "node" then
|
||||||
return itemstack
|
return itemstack
|
||||||
|
|
Loading…
Reference in New Issue