Skip to content

Commit

Permalink
lua_api.txt: Improve privilege definition (#8912)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClobberXD authored and SmallJoker committed Sep 8, 2019
1 parent 36bfc67 commit 52e3b4b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/lua_api.txt
Expand Up @@ -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.
Expand Down

0 comments on commit 52e3b4b

Please sign in to comment.