forked from mtcontrib/minetest-mod-snow
only those with server privs can use menu.
This commit is contained in:
parent
2a3c61b2e3
commit
ddfc5102a1
1
util.lua
1
util.lua
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user