diff options
author | PilzAdam <adam-k@outlook.com> | 2012-12-09 13:34:16 +0100 |
---|---|---|
committer | PilzAdam <adam-k@outlook.com> | 2012-12-11 16:44:13 +0100 |
commit | 52ba413185f96add259c480a68f5dffa389e80f4 (patch) | |
tree | a20aafa92b5ce3ad22eb2074afc4aea30d09260c /builtin | |
parent | 1d13d106dd58cd18a019046840c180da25001b02 (diff) | |
download | minetest-52ba413185f96add259c480a68f5dffa389e80f4.tar.gz minetest-52ba413185f96add259c480a68f5dffa389e80f4.tar.bz2 minetest-52ba413185f96add259c480a68f5dffa389e80f4.zip |
Only fly through walls in noclip mode wich requires the noclip privilege
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/privileges.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/privileges.lua b/builtin/privileges.lua index 9ec09d7f6..8dd06b24f 100644 --- a/builtin/privileges.lua +++ b/builtin/privileges.lua @@ -44,5 +44,9 @@ minetest.register_privilege("fast", { description = "Can walk fast using the fast_move mode", give_to_singleplayer = false, }) +minetest.register_privilege("noclip", { + description = "Can fly through walls", + give_to_singleplayer = false, +}) minetest.register_privilege("rollback", "Can use the rollback functionality") |