summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/lua_api.txt7
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.