From f99dcfa57c8ffd4b47ccae752beeb59eb1aa0122 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Mon, 16 Sep 2024 15:51:45 +0200 Subject: [PATCH] register the actually set priv when it is missing --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index bb0bb83..4933366 100644 --- a/init.lua +++ b/init.lua @@ -8,7 +8,7 @@ factions.version = 2 minetest.register_on_mods_loaded(function() 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"), give_to_singleplayer = false })