add "tp" privs by chatcommand "release"
This commit is contained in:
parent
6d890a00c5
commit
3dd901f850
4
init.lua
4
init.lua
@ -64,7 +64,8 @@ jail.release = function(self_name, id_player)
|
||||
interact = true,
|
||||
shout = true,
|
||||
home = true,
|
||||
spawn = true
|
||||
spawn = true,
|
||||
tp = true
|
||||
})
|
||||
table.remove(prisoners_list, id)
|
||||
end
|
||||
@ -130,7 +131,6 @@ minetest.register_chatcommand("jailb_on", {
|
||||
},
|
||||
func = function(name, del_node)
|
||||
minetest.set_node(jail.jailpos, { name = "jail:borders" })
|
||||
|
||||
return true, 'Border display'
|
||||
end
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user