mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-06 13:07:33 +01: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", {
|
||||
description = "Teleport to relative position",
|
||||
params = "<axis> <distance> | leave empty to see help message",
|
||||
privs = {interact=true},
|
||||
privs = {interact=true,tp_tpc=true},
|
||||
func = tpj
|
||||
})
|
||||
|
||||
minetest.register_chatcommand("tpe", {
|
||||
description = "Evade Enemy",
|
||||
privs = {interact=true},
|
||||
privs = {interact=true,tp_tpc=true},
|
||||
func = tpe
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user