diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-11-09 10:55:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 11:55:15 +0100 |
commit | 7589cbe086a5558eea018e1e3d25e388b26d51e8 (patch) | |
tree | da165c066dd85fd6516a13fd7d6ba114a59acaf3 /doc/lua_api.txt | |
parent | c940a57a384b1a75730776906451078d25c5aa52 (diff) | |
download | minetest-7589cbe086a5558eea018e1e3d25e388b26d51e8.tar.gz minetest-7589cbe086a5558eea018e1e3d25e388b26d51e8.tar.bz2 minetest-7589cbe086a5558eea018e1e3d25e388b26d51e8.zip |
Fix object interaction distance not being checked (#10547)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 38fc3066a..985af2f6e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6189,9 +6189,9 @@ object you are working with still exists. * `bone`: string * `position`: `{x=num, y=num, z=num}` (relative) * `rotation`: `{x=num, y=num, z=num}` = Rotation on each axis, in degrees - * `forced_visible`: Boolean to control whether the attached entity + * `forced_visible`: Boolean to control whether the attached entity should appear in first person. -* `get_attach()`: returns parent, bone, position, rotation, forced_visible, +* `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 object. |