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