add "server" priv to chatcommand

This commit is contained in:
Buckaroo Banzai 2020-07-28 16:54:25 +02:00 committed by GitHub
parent b6d278b1e8
commit 36d6c3141d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@
minetest.register_chatcommand("mirror", {
params = "[set|x|y|z|off]",
privs = { server = true },
description = "",
func = function(name, param)
local player = minetest.get_player_by_name(name)