forked from Ad5001/UHC
Update Main.php
This commit is contained in:
parent
1ddb724d20
commit
d723eba1f6
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
# | | | | __ | |
|
# | | | | __ | |
|
||||||
# | |__| | | | | |____
|
# | |__| | | | | |____
|
||||||
# \____/|_| |_|\_____|
|
# \____/|_| |_|\_____|
|
||||||
# The most customisable UHC plugin for Minecraft PE !
|
# The most customisable UHC plugin for Minecraft PE!
|
||||||
namespace Ad5001\UHC ;
|
namespace Ad5001\UHC ;
|
||||||
use pocketmine\command\CommandSender;
|
use pocketmine\command\CommandSender;
|
||||||
use pocketmine\command\Command;
|
use pocketmine\command\Command;
|
||||||
|
@ -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>");
|
||||||
|
@ -185,4 +185,4 @@ switch($cmd->getName()){
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue