1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-11-16 14:50:18 +01:00

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

View File

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