aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorwsor4035 <24964441+wsor4035@users.noreply.github.com>2022-09-12 13:25:25 -0400
committerGitHub <noreply@github.com>2022-09-12 19:25:25 +0200
commit482cc99b2c7903f33ea9a28a1811e9360307a55a (patch)
treec5256a02fd429ce1202f3556d0039756a751c7dd /doc/lua_api.txt
parentbc3dccca5c66019dfbd218f39f086f7384f97d88 (diff)
downloadminetest-482cc99b2c7903f33ea9a28a1811e9360307a55a.tar.xz
Fix trivial get_armor_groups documentation issue (#12760)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 0f2fea4db..abdad7f2c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1783,8 +1783,8 @@ For entities, groups are, as of now, used only for calculating damage.
The rating is the percentage of damage caused by items with this damage group.
See [Entity damage mechanism].
- object.get_armor_groups() --> a group-rating table (e.g. {fleshy=100})
- object.set_armor_groups({fleshy=30, cracky=80})
+ object:get_armor_groups() --> a group-rating table (e.g. {fleshy=100})
+ object:set_armor_groups({fleshy=30, cracky=80})
Groups of tool capabilities
---------------------------