1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Pass pointed_thing to after_place_node

This commit is contained in:
ShadowNinja 2014-01-06 21:15:44 -05:00
parent 9551f651cb
commit c46574f30f
2 changed files with 8 additions and 2 deletions

View file

@ -2188,7 +2188,7 @@ Node definition (register_node)
^ Node destructor; always called after removing node
^ default: nil
after_place_node = func(pos, placer, itemstack),
after_place_node = func(pos, placer, itemstack, pointed_thing),
^ Called after constructing node when node was placed using
minetest.item_place_node / minetest.place_node
^ If return true no item is taken from itemstack