summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorbenrob0329 <ben@innovationplex.com>2021-04-13 14:02:43 -0400
committerGitHub <noreply@github.com>2021-04-13 20:02:43 +0200
commita106bfd456509b676ccba0ac9bef75c214819028 (patch)
tree929a16ae5cbe49f401d5a11064b77d1b72b5b39e /doc/lua_api.txt
parentbbe120308f2944eade833b4f16cfc3b42b01fa34 (diff)
downloadminetest-a106bfd456509b676ccba0ac9bef75c214819028.tar.gz
minetest-a106bfd456509b676ccba0ac9bef75c214819028.tar.bz2
minetest-a106bfd456509b676ccba0ac9bef75c214819028.zip
Also return the ObjectRef from minetest.spawn_falling_node() (#11184)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 7d413a9e9..4c963465a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -4927,7 +4927,7 @@ Environment access
* Punch node with the same effects that a player would cause
* `minetest.spawn_falling_node(pos)`
* Change node into falling node
- * Returns `true` if successful, `false` on failure
+ * Returns `true` and the ObjectRef of the spawned entity if successful, `false` on failure
* `minetest.find_nodes_with_meta(pos1, pos2)`
* Get a table of positions of nodes that have metadata within a region