From ec9127adb13a2a9de0b2e1b88e041c55cf8a4637 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 13 Oct 2016 05:21:45 +0200 Subject: Rename reveal priv --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 839903b..86af80d 100644 --- a/init.lua +++ b/init.lua @@ -880,14 +880,14 @@ if minetest.get_modpath("unified_inventory") ~= nil then end minetest.register_privilege("doc_reveal", { - description = "Allows you to reveal all hidden help entries with /doc_unlock", + description = "Allows you to reveal all hidden help entries with /doc_reveal", give_to_singleplayer = false }) minetest.register_chatcommand("doc_reveal", { params = "", description = "Reveals all hidden help entries to you", - privs = { doc_unlock = true }, + privs = { doc_reveal = true }, func = function(name, param) doc.mark_all_entries_as_revealed(name) end, -- cgit v1.2.3