Update Main.php
This commit is contained in:
parent
1ddb724d20
commit
d723eba1f6
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ switch($cmd->getName()){
|
||||||
$player = $this->getServer()->getPlayer($args[1]);
|
$player = $this->getServer()->getPlayer($args[1]);
|
||||||
$sender->teleport(new Vector3($player->x, $player->y, $player->z), $player->yaw, $player->pitch);
|
$sender->teleport(new Vector3($player->x, $player->y, $player->z), $player->yaw, $player->pitch);
|
||||||
} else {
|
} else {
|
||||||
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exists");
|
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exist!");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$sender->sendMessage(self::PREFIX . "Usage: /uhc tp <player>");
|
$sender->sendMessage(self::PREFIX . "Usage: /uhc tp <player>");
|
||||||
|
|
Loading…
Reference in a new issue