mirror of
https://github.com/minetest-mods/player_monoids.git
synced 2025-01-09 09:00:19 +01:00
Give privilege automatically to admin
The 'monoid_master' privilege is given to admin automatically.
This commit is contained in:
parent
4df04550e3
commit
1e12f0e293
1
test.lua
1
test.lua
@ -4,6 +4,7 @@ local speed = player_monoids.speed
|
|||||||
minetest.register_privilege("monoid_master", {
|
minetest.register_privilege("monoid_master", {
|
||||||
description = "Allows testing of player monoids.",
|
description = "Allows testing of player monoids.",
|
||||||
give_to_singleplayer = false,
|
give_to_singleplayer = false,
|
||||||
|
give_to_admin = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
local function test(player)
|
local function test(player)
|
||||||
|
Loading…
Reference in New Issue
Block a user