Separate "/checkxp" command parameters from info text.
parent
fa02b0c984
commit
649ec4dc13
|
@ -123,7 +123,8 @@ minetest.register_chatcommand('kick', {
|
|||
})
|
||||
|
||||
minetest.register_chatcommand('givexp', {
|
||||
description = 'Gives a player XP [player, xp]',
|
||||
description = 'Gives a player XP',
|
||||
params = '[player, xp]',
|
||||
privs = {server=true},
|
||||
func = function(name, params)
|
||||
local recipient, xp_input = params:match('^(%S+)%s(.+)$')
|
||||
|
|
Loading…
Reference in New Issue