Closed inxomnyaa closed 5 years ago
protected function onRun(CommandSender $sender, string $aliasUsed, array $args): void { if(isset($args["name"])){ $sender->sendMessage("Hello, " . $**name** . "!"); } else { $this->sendUsage(); } }
where does $name come from?
Only thing imagineable is the use of extract($args)
extract($args)
Mistake
where does $name come from?
Only thing imagineable is the use of
extract($args)