Merge branch 'i3-givexp-help' of whats_his_face/Traitor into master

master
NathanS21 2022-01-22 19:54:51 +00:00 committed by Gogs
commit 285fa53219
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(.+)$')