TeleportCommand: add /teleport alias

This commit is contained in:
Dylan K. Taylor 2018-03-16 10:49:57 +00:00
parent fdad965db8
commit e88541b269

View File

@ -37,7 +37,8 @@ class TeleportCommand extends VanillaCommand{
parent::__construct(
$name,
"%pocketmine.command.tp.description",
"%commands.tp.usage"
"%commands.tp.usage",
["teleport"]
);
$this->setPermission("pocketmine.command.teleport");
}