mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 14:42:27 +01:00
Remove dig_up() from cactus.
Digging a cactus leaves the branches hanging. With this change it will no longer happen.
This commit is contained in:
parent
2c355a8642
commit
ea2a7d3b1f
@ -879,10 +879,6 @@ minetest.register_node("default:cactus", {
|
|||||||
groups = {snappy = 1, choppy = 3, flammable = 2},
|
groups = {snappy = 1, choppy = 3, flammable = 2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_place = minetest.rotate_node,
|
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", {
|
minetest.register_node("default:papyrus", {
|
||||||
|
Loading…
Reference in New Issue
Block a user