Commit 174ebfdc authored by Milan's avatar Milan

depends on trusted_player

parent 5df9c6fe
......@@ -17,7 +17,7 @@ minetest.register_chatcommand("mapfix", {
func = function(name, param)
local pos = minetest.get_player_by_name(name):getpos()
local size = tonumber(param) or default_size
local privs = minetest.check_player_privs(name, {server=true})
local privs = minetest.check_player_privs(name, {trusted_player=true})
local time = os.time()
if not privs then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment