From: MT-Modder Date: Mon, 22 Feb 2016 17:19:41 +0000 (-0500) Subject: Remove dig_up() from cactus. X-Git-Tag: 0.4.14~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ea2a7d3b1fe4b0ea49527c0d68fdea4eada6ec5e;p=oweals%2Fminetest_game.git Remove dig_up() from cactus. Digging a cactus leaves the branches hanging. With this change it will no longer happen. --- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index d00e67ac..1e39be99 100644 --- 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", {