Skip to content
Permalink
Browse files

lua_api.txt: Improve privilege definition (#8912)

  • Loading branch information...
ClobberXD authored and SmallJoker committed Sep 8, 2019
1 parent 36bfc67 commit 52e3b4bc7229895c2e9ac37d72bead40f0c7cf74
Showing with 4 additions and 3 deletions.
  1. +4 −3 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.

0 comments on commit 52e3b4b

Please sign in to comment.
You can’t perform that action at this time.