Rename reveal priv

This commit is contained in:
Wuzzy 2016-10-13 05:21:45 +02:00
parent 0237c1b64e
commit ec9127adb1

View File

@ -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,