Skip to content

Commit 52e3b4b

Browse files
ClobberXDSmallJoker
authored andcommittedSep 8, 2019
lua_api.txt: Improve privilege definition (#8912)
1 parent 36bfc67 commit 52e3b4b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎doc/lua_api.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -7023,10 +7023,11 @@ Privilege definition
70237023
Used by `minetest.register_privilege`.
70247024

70257025
{
7026-
description = "Can teleport", -- Privilege description
7026+
description = "",
7027+
-- Privilege description
70277028

7028-
give_to_singleplayer = false,
7029-
-- Whether to grant the privilege to singleplayer (default true).
7029+
give_to_singleplayer = true,
7030+
-- Whether to grant the privilege to singleplayer.
70307031

70317032
give_to_admin = true,
70327033
-- Whether to grant the privilege to the server admin.

0 commit comments

Comments
 (0)
Please sign in to comment.