projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe831e
)
doors: Fix craftitem not listed in inventory (#1683)
author
SmallJoker
<SmallJoker@users.noreply.github.com>
Sun, 2 Apr 2017 08:01:01 +0000
(10:01 +0200)
committer
GitHub
<noreply@github.com>
Sun, 2 Apr 2017 08:01:01 +0000
(10:01 +0200)
Fixes bug caused by
b847888
mods/doors/init.lua
patch
|
blob
|
history
diff --git
a/mods/doors/init.lua
b/mods/doors/init.lua
index 8ca26dac700274c6545192c00645aeca6bbcf8fc..3958444664fd077c0fb5d5799df3cf3fe8bc8ce9 100644
(file)
--- 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