Advertisement
Guest User

Untitled

a guest
Oct 16th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. minetest.register_abm({
  2.     nodenames = trees2,
  3.     chance = 2,
  4.     interval = 1,
  5.     action = function(pos, node)
  6.         if node.param1 == 0 then
  7.             minetest.set_node(pos, {name = node.name, param2 = node.param2 })
  8.         end
  9.     end
  10. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement