only those with server privs can use menu.

This commit is contained in:
Splizard 2013-12-26 08:54:23 +13:00
parent 2a3c61b2e3
commit ddfc5102a1
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ end)
minetest.register_chatcommand("snow", {
description = "Show a menu for various actions",
privs = {server=true},
func = function(name, param)
minetest.show_formspec(name, "snow:menu", get_formspec())
end,