mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-29 10:43:50 +01:00
register the actually set priv when it is missing
This commit is contained in:
parent
f01e90e8eb
commit
f99dcfa57c
2
init.lua
2
init.lua
@ -8,7 +8,7 @@ factions.version = 2
|
|||||||
|
|
||||||
minetest.register_on_mods_loaded(function()
|
minetest.register_on_mods_loaded(function()
|
||||||
if not minetest.registered_privileges[factions.priv] then
|
if not minetest.registered_privileges[factions.priv] then
|
||||||
minetest.register_privilege("playerfactions_admin", {
|
minetest.register_privilege(factions.priv, {
|
||||||
description = S("Allow the use of all playerfactions commands"),
|
description = S("Allow the use of all playerfactions commands"),
|
||||||
give_to_singleplayer = false
|
give_to_singleplayer = false
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user