diff options
author | Sokomine <wegwerf@anarres.homenet.org> | 2016-05-30 14:40:32 +0200 |
---|---|---|
committer | Zeno- <kde.psych@gmail.com> | 2016-05-30 22:40:32 +1000 |
commit | 4134d8ad13c371820a485a9752b1197a8d7007f3 (patch) | |
tree | 9e76ffabbb961e8f80e9212591573c88b8267e50 /builtin/game | |
parent | a9bc7dc405df04d5a3cb5fe5de43190200dc692d (diff) | |
download | minetest-4134d8ad13c371820a485a9752b1197a8d7007f3.tar.gz minetest-4134d8ad13c371820a485a9752b1197a8d7007f3.tar.bz2 minetest-4134d8ad13c371820a485a9752b1197a8d7007f3.zip |
protection_bypass priv can now be revoked in singleplayer (#4169)
Diffstat (limited to 'builtin/game')
-rw-r--r-- | builtin/game/privileges.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua index bd5ead624..5838b9374 100644 --- a/builtin/game/privileges.lua +++ b/builtin/game/privileges.lua @@ -32,7 +32,10 @@ core.register_privilege("settime", "Can use /time") core.register_privilege("privs", "Can modify privileges") core.register_privilege("basic_privs", "Can modify 'shout' and 'interact' privileges") core.register_privilege("server", "Can do server maintenance stuff") -core.register_privilege("protection_bypass", "Can bypass node protection in the world") +core.register_privilege("protection_bypass", { + description = "Can bypass node protection in the world", + give_to_singleplayer = false, +}) core.register_privilege("shout", "Can speak in chat") core.register_privilege("ban", "Can ban and unban players") core.register_privilege("kick", "Can kick players") |