pocketmine\command\Command::unregister PHP 메소드

unregister() 공개 메소드

public unregister ( pocketmine\command\CommandMap $commandMap ) : boolean
$commandMap pocketmine\command\CommandMap
리턴 boolean
    public function unregister(CommandMap $commandMap)
    {
        if ($this->allowChangesFrom($commandMap)) {
            $this->commandMap = null;
            $this->activeAliases = $this->aliases;
            $this->label = $this->nextLabel;
            return true;
        }
        return false;
    }