mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-07 19:10:23 +01:00
Maze only creatable by admin
This commit is contained in:
parent
bce300a35f
commit
387b145162
|
@ -1,5 +1,6 @@
|
||||||
minetest.register_chatcommand("maze", {
|
minetest.register_chatcommand("maze", {
|
||||||
params = "<size_x> <size_y> <#floors> <material_floor> <material_wall> <material_ceiling>",
|
params = "<size_x> <size_y> <#floors> <material_floor> <material_wall> <material_ceiling>",
|
||||||
|
privs = {server = true},
|
||||||
description = "Create a maze near your position",
|
description = "Create a maze near your position",
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
local t1 = os.clock()
|
local t1 = os.clock()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user