Ajoute infos privilège "megabuilder" dans la commande /area_info

This commit is contained in:
2019-12-28 15:07:13 +01:00
parent feae9967dc
commit 57f20bb25f
3 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,3 @@
-- Mega_builder privilege
minetest.register_privilege("megabuilder", "Can protect an infinite amount of areas.")
function areas:player_exists(name)
return minetest.get_auth_handler().get_auth(name) ~= nil
end