From: SmallJoker Date: Sun, 2 Apr 2017 08:01:01 +0000 (+0200) Subject: doors: Fix craftitem not listed in inventory (#1683) X-Git-Tag: 0.4.16~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b377aaa50d2f8ae1926c2319f17380f8e754f499;p=oweals%2Fminetest_game.git doors: Fix craftitem not listed in inventory (#1683) Fixes bug caused by b847888 --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 8ca26dac..39584446 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