From b377aaa50d2f8ae1926c2319f17380f8e754f499 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 2 Apr 2017 10:01:01 +0200 Subject: [PATCH] doors: Fix craftitem not listed in inventory (#1683) Fixes bug caused by b847888 --- mods/doors/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 8ca26da..3958444 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -254,7 +254,7 @@ function doors.register(name, def) minetest.register_craftitem(":" .. name, { description = def.description, inventory_image = def.inventory_image, - groups = def.groups, + groups = table.copy(def.groups), on_place = function(itemstack, placer, pointed_thing) local pos