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:
7c42c41
)
doors: add groups to the door craftitem
author
cx384
<muelladresse84@web.de>
Tue, 28 Mar 2017 17:18:59 +0000
(19:18 +0200)
committer
SmallJoker
<mk939@ymail.com>
Wed, 29 Mar 2017 18:40:56 +0000
(20:40 +0200)
mods/doors/init.lua
patch
|
blob
|
history
diff --git
a/mods/doors/init.lua
b/mods/doors/init.lua
index 974e9d3d5dce9ca9e398bcf184d0cb739af5f5c4..4ab40111931fa186e99bd0779e060f625e830500 100644
(file)
--- a/
mods/doors/init.lua
+++ b/
mods/doors/init.lua
@@
-254,6
+254,7
@@
function doors.register(name, def)
minetest.register_craftitem(":" .. name, {
description = def.description,
inventory_image = def.inventory_image,
+ groups = def.groups,
on_place = function(itemstack, placer, pointed_thing)
local pos