1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

doors: Fix craftitem not listed in inventory (#1683)

Fixes bug caused by b847888
This commit is contained in:
SmallJoker 2017-04-02 10:01:01 +02:00 committed by GitHub
parent 5fe831ed13
commit b377aaa50d

View File

@ -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