summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
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,