Only fly through walls in noclip mode wich requires the noclip privilege

This commit is contained in:
PilzAdam 2012-12-09 13:34:16 +01:00 committed by Nils Dagsson Moskopp
parent f834e7cbad
commit f8946b1dc0
Signed by: erlehmann
GPG Key ID: A3BC671C35191080
1 changed files with 4 additions and 0 deletions

View File

@ -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")