summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2021-05-29 11:44:48 +0200
committerGitHub <noreply@github.com>2021-05-29 11:44:48 +0200
commit5bf72468f3a0925a9fc3c9acacf3f6e138bff35e (patch)
treef4176ee197cf895c881c14d2162d3df6e5629577 /doc/lua_api.txt
parentff48619a857da2158768314f08191994b33ffee9 (diff)
downloadminetest-5bf72468f3a0925a9fc3c9acacf3f6e138bff35e.tar.gz
minetest-5bf72468f3a0925a9fc3c9acacf3f6e138bff35e.tar.bz2
minetest-5bf72468f3a0925a9fc3c9acacf3f6e138bff35e.zip
UnitSAO: Prevent circular attachments
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index ef86efcc1..6c7ae0fb5 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6314,6 +6314,8 @@ object you are working with still exists.
Default `{x=0, y=0, z=0}`
* `forced_visible`: Boolean to control whether the attached entity
should appear in first person. Default `false`.
+ * This command may fail silently (do nothing) when it would result
+ in circular attachments.
* `get_attach()`: returns parent, bone, position, rotation, forced_visible,
or nil if it isn't attached.
* `get_children()`: returns a list of ObjectRefs that are attached to the