mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
More typehints for Command stuff
This commit is contained in:
@ -40,7 +40,7 @@ class EnchantCommand extends VanillaCommand{
|
||||
$this->setPermission("pocketmine.command.enchant");
|
||||
}
|
||||
|
||||
public function execute(CommandSender $sender, $currentAlias, array $args){
|
||||
public function execute(CommandSender $sender, string $commandLabel, array $args){
|
||||
if(!$this->testPermission($sender)){
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user