tpj and tpe require a priv

This commit is contained in:
ChaosWormz 2017-01-24 10:22:31 +02:00 committed by GitHub
parent d5abac3df9
commit cf663c9e75

@ -304,13 +304,13 @@ minetest.register_chatcommand("tpc", {
minetest.register_chatcommand("tpj", { minetest.register_chatcommand("tpj", {
description = "Teleport to relative position", description = "Teleport to relative position",
params = "<axis> <distance> | leave empty to see help message", params = "<axis> <distance> | leave empty to see help message",
privs = {interact=true}, privs = {interact=true,tp_tpc=true},
func = tpj func = tpj
}) })
minetest.register_chatcommand("tpe", { minetest.register_chatcommand("tpe", {
description = "Evade Enemy", description = "Evade Enemy",
privs = {interact=true}, privs = {interact=true,tp_tpc=true},
func = tpe func = tpe
}) })