From 387b145162ee494fc6574bd86992058ac6b1e8fd Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Wed, 22 Apr 2015 22:49:28 +0200 Subject: [PATCH] Maze only creatable by admin --- mods/maze/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/maze/init.lua b/mods/maze/init.lua index 1159ae28..f4c57d7c 100644 --- a/mods/maze/init.lua +++ b/mods/maze/init.lua @@ -1,5 +1,6 @@ minetest.register_chatcommand("maze", { params = " <#floors> ", + privs = {server = true}, description = "Create a maze near your position", func = function(name, param) local t1 = os.clock()