Guest User

Untitled

a guest
Sep 13th, 2012
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local entity = minetest.registered_nodes["default:sapling"]
  2. entity.on_construct = function(pos)
  3.     print("sapling was placed")
  4. end
  5. minetest.register_node(":default:sapling", entity)
RAW Paste Data