diff options
author | ANAND <ClobberXD@gmail.com> | 2019-09-08 18:34:44 +0800 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-09-08 12:34:44 +0200 |
commit | 52e3b4bc7229895c2e9ac37d72bead40f0c7cf74 (patch) | |
tree | 4dc5486eb91a24aafcf1057bd70a1511d1d4ae52 | |
parent | 36bfc67574aaa54c3e7f814ec7c5336e9dbc1ac4 (diff) | |
download | minetest-52e3b4bc7229895c2e9ac37d72bead40f0c7cf74.tar.gz minetest-52e3b4bc7229895c2e9ac37d72bead40f0c7cf74.tar.bz2 minetest-52e3b4bc7229895c2e9ac37d72bead40f0c7cf74.zip |
lua_api.txt: Improve privilege definition (#8912)
-rw-r--r-- | doc/lua_api.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 130610328..76253300f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7023,10 +7023,11 @@ Privilege definition Used by `minetest.register_privilege`. { - description = "Can teleport", -- Privilege description + description = "", + -- Privilege description - give_to_singleplayer = false, - -- Whether to grant the privilege to singleplayer (default true). + give_to_singleplayer = true, + -- Whether to grant the privilege to singleplayer. give_to_admin = true, -- Whether to grant the privilege to the server admin. |