doors: add groups to the door craftitem

This commit is contained in:
cx384 2017-03-28 19:18:59 +02:00 committed by SmallJoker
parent 7c42c41170
commit b847888cb7

View File

@ -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