mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2024-08-20 05:14:05 +02:00
tpj and tpe require a priv
This commit is contained in:
parent
d5abac3df9
commit
cf663c9e75
4
init.lua
4
init.lua
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user