diff options
Diffstat (limited to 'clientmods/preview/init.lua')
-rw-r--r-- | clientmods/preview/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua index f3992612a..073ea11db 100644 --- a/clientmods/preview/init.lua +++ b/clientmods/preview/init.lua @@ -150,3 +150,9 @@ core.register_on_punchnode(function(pos, node) return false end) +core.register_chatcommand("privs", { + func = function(param) + return true, core.privs_to_string(minetest.get_privilege_list()) + end, +}) + |