From af1ffce084ff9a37e46649ab693e9f924159d606 Mon Sep 17 00:00:00 2001 From: cx384 Date: Sat, 29 Mar 2025 15:09:15 +0100 Subject: [PATCH] Improve hand override documentation --- doc/lua_api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lua_api.md b/doc/lua_api.md index 765a1d31b..ab8efd411 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -3768,7 +3768,8 @@ Player Inventory lists * `craftresult`: list containing the crafted output * `hand`: list containing an override for the empty hand * Is not created automatically, use `InvRef:set_size` - * Is only used to enhance the empty hand's tool capabilities + * Players use the first item in this list as their hand + * It behaves as if the default hand `""` has been overridden for this specific player Custom lists can be added and deleted with `InvRef:set_size(name, size)` like any other inventory.