abm removal
This commit is contained in:
parent
04d0e416ec
commit
c50ebfed12
20
init.lua
20
init.lua
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user