TargetSelectorException 5.46.0
Extends CommandException
Thrown when a target selector cannot be parsed or matches nothing. The command map shows the message to the sender (in red), so commands may let it propagate.
Methods
__construct()
php
public function __construct(\pocketmine\lang\Translatable $translatable, ?\Throwable $previous = null)getTranslatable()
php
public function getTranslatable() : \pocketmine\lang\TranslatableMessage for the command sender.
