doors: add groups to the door craftitem
This commit is contained in:
parent
7c42c41170
commit
b847888cb7
@ -254,6 +254,7 @@ function doors.register(name, def)
|
|||||||
minetest.register_craftitem(":" .. name, {
|
minetest.register_craftitem(":" .. name, {
|
||||||
description = def.description,
|
description = def.description,
|
||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
|
groups = def.groups,
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local pos
|
local pos
|
||||||
|
Loading…
Reference in New Issue
Block a user