1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Also return the ObjectRef from minetest.spawn_falling_node() (#11184)

This commit is contained in:
benrob0329 2021-04-13 14:02:43 -04:00 committed by GitHub
parent bbe120308f
commit a106bfd456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -407,7 +407,7 @@ local function convert_to_falling_node(pos, node)
obj:get_luaentity():set_node(node, metatable)
core.remove_node(pos)
return true
return true, obj
end
function core.spawn_falling_node(pos)