Skip to content

Commit

Permalink
Remove dig_up() from cactus.
Browse files Browse the repository at this point in the history
Digging a cactus leaves the branches hanging. With this change it will no longer happen.
  • Loading branch information
MT-Modder authored and paramat committed Feb 23, 2016
1 parent 2c355a8 commit ea2a7d3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mods/default/nodes.lua
Expand Up @@ -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", {
Expand Down

0 comments on commit ea2a7d3

Please sign in to comment.