From: ANAND Date: Sun, 8 Sep 2019 10:34:44 +0000 (+0800) Subject: lua_api.txt: Improve privilege definition (#8912) X-Git-Tag: 5.1.0~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52e3b4bc7229895c2e9ac37d72bead40f0c7cf74;p=oweals%2Fminetest.git lua_api.txt: Improve privilege definition (#8912) --- 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.