abm removal

This commit is contained in:
D00Med 2016-12-30 11:10:22 +10:00
parent 04d0e416ec
commit c50ebfed12

View File

@ -168,16 +168,16 @@ minetest.register_abm({
end,
})
minetest.register_abm({
nodenames = "default:bush_leaves",
interval = 5,
chance = 1,
action = function(pos, node)
if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name == "default:snow" then
minetest.env:set_node(pos, {name="nodebox_trees:bush_leaves_with_snow"})
end
end,
})
-- minetest.register_abm({
-- nodenames = "default:bush_leaves",
-- interval = 5,
-- chance = 1,
-- action = function(pos, node)
-- if minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name == "default:snow" then
-- minetest.env:set_node(pos, {name="nodebox_trees:bush_leaves_with_snow"})
-- end
-- end,
-- })
minetest.register_abm({
nodenames = "default:pine_needles",