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:
parent
9551f651cb
commit
c46574f30f
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue