From f8946b1dc0395478ff6d22913df5e4b4e3900920 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sun, 9 Dec 2012 13:34:16 +0100 Subject: [PATCH] Only fly through walls in noclip mode wich requires the noclip privilege --- builtin/privileges.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builtin/privileges.lua b/builtin/privileges.lua index 9ec09d7..8dd06b2 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")