mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 07:54:19 +00:00
FormattedCommandAlias: fixed incorrect arguments array being passed to the target
This commit is contained in:
parent
82edb20e0c
commit
becbd562d6
@ -85,7 +85,7 @@ class FormattedCommandAlias extends Command{
|
||||
$target->timings->startTiming();
|
||||
|
||||
try{
|
||||
$target->execute($sender, $commandLabel, $args);
|
||||
$target->execute($sender, $commandLabel, $commandArgs);
|
||||
}catch(InvalidCommandSyntaxException $e){
|
||||
$sender->sendMessage($sender->getLanguage()->translate(KnownTranslationFactory::commands_generic_usage($target->getUsage())));
|
||||
}finally{
|
||||
|
Loading…
x
Reference in New Issue
Block a user