From 52e3b4bc7229895c2e9ac37d72bead40f0c7cf74 Mon Sep 17 00:00:00 2001 From: ANAND Date: Sun, 8 Sep 2019 18:34:44 +0800 Subject: [PATCH] lua_api.txt: Improve privilege definition (#8912) --- doc/lua_api.txt | 7 ++++--- 1 file 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. -- 2.25.1