diff options
-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 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 --------------------------- |