From: cx384 Date: Tue, 28 Mar 2017 17:18:59 +0000 (+0200) Subject: doors: add groups to the door craftitem X-Git-Tag: 0.4.16~41 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b847888cb7b79787f424dec2c2ee1728cc2c0872;p=oweals%2Fminetest_game.git doors: add groups to the door craftitem --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 974e9d3d..4ab40111 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -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