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
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ function doors.register(name, def)
minetest.register_craftitem(":" .. name, {
description = def.description,
inventory_image = def.inventory_image,
groups = def.groups,
on_place = function(itemstack, placer, pointed_thing)
local pos