Separate "/checkxp" command parameters from info text.

master
whats_his_face 2022-01-22 12:09:41 -06:00
parent fa02b0c984
commit 649ec4dc13
1 changed files with 2 additions and 1 deletions

View File

@ -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(.+)$')