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:
2c355a8
)
Remove dig_up() from cactus.
author
MT-Modder
<MT-Modder@users.noreply.github.com>
Mon, 22 Feb 2016 17:19:41 +0000
(12:19 -0500)
committer
paramat
<mat.gregory@virginmedia.com>
Tue, 23 Feb 2016 20:34:32 +0000
(20:34 +0000)
Digging a cactus leaves the branches hanging. With this change it will no longer happen.
mods/default/nodes.lua
patch
|
blob
|
history
diff --git
a/mods/default/nodes.lua
b/mods/default/nodes.lua
index d00e67acfc615849465895fdfff3f02f9f9b3ba8..1e39be99de633c6aa3d51bacfef50420b3c85671 100644
(file)
--- a/
mods/default/nodes.lua
+++ b/
mods/default/nodes.lua
@@
-879,10
+879,6
@@
minetest.register_node("default:cactus", {
groups = {snappy = 1, choppy = 3, flammable = 2},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node,
-
- after_dig_node = function(pos, node, metadata, digger)
- default.dig_up(pos, node, digger)
- end,
})
minetest.register_node("default:papyrus", {