Improve place_bounty command
This commit is contained in:
parent
5e9d341aa6
commit
630f772e02
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ end)
|
|||
minetest.register_privilege("bounty_admin")
|
||||
|
||||
minetest.register_chatcommand("place_bounty", {
|
||||
description = "Place a bounty on a player",
|
||||
params = "<player name>",
|
||||
privs = { bounty_admin = true },
|
||||
func = function(name, target)
|
||||
target = target:trim()
|
||||
|
|
Loading…
Reference in a new issue