summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorROllerozxa <temporaryemail4meh+github@gmail.com>2021-12-13 17:43:29 +0100
committerGitHub <noreply@github.com>2021-12-13 17:43:29 +0100
commitfcf86ded8f8f5f0b0da9a59e4e9035838bf19d01 (patch)
treeecc32c21de1e7aa3b85b3cea328a3e24a70a2e9e /doc/lua_api.txt
parent84efe279bb5fd5cce3f1d042b3aac412376fda1b (diff)
downloadminetest-fcf86ded8f8f5f0b0da9a59e4e9035838bf19d01.tar.gz
minetest-fcf86ded8f8f5f0b0da9a59e4e9035838bf19d01.tar.bz2
minetest-fcf86ded8f8f5f0b0da9a59e4e9035838bf19d01.zip
Disable inventory if player's inventory formspec is blank (#11827)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index e26497555..ee7d63101 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6690,6 +6690,7 @@ object you are working with still exists.
* `set_inventory_formspec(formspec)`
* Redefine player's inventory form
* Should usually be called in `on_joinplayer`
+ * If `formspec` is `""`, the player's inventory is disabled.
* `get_inventory_formspec()`: returns a formspec string
* `set_formspec_prepend(formspec)`:
* the formspec string will be added to every formspec shown to the user,