mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Only fly through walls in noclip mode wich requires the noclip privilege
This commit is contained in:
parent
1d13d106dd
commit
52ba413185
5 changed files with 31 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue