Merge pull request #4 from XShockinFireX/master

Some typing errors!
This commit is contained in:
Ad5001 2016-06-10 21:56:06 +01:00 committed by GitHub
commit 9b06390688
3 changed files with 8 additions and 8 deletions

View file

@ -150,7 +150,7 @@ switch($cmd->getName()){
$player = $this->getServer()->getPlayer($args[1]);
$sender->teleport(new Vector3($player->x, $player->y, $player->z), $player->yaw, $player->pitch);
} else {
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exists");
$sender->sendMessage(self::PREFIX . "Player {$args[1]} does NOT exist!");
}
} else {
$sender->sendMessage(self::PREFIX . "Usage: /uhc tp <player>");

View file

@ -45,7 +45,7 @@ class UHCWorld {
foreach($players as $player) {
if(!in_array($player, $this->players)){
foreach($this->players as $pl) {
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} leaved the game.");
$pl->sendMessage(Main::PREFIX . C::YELLOW . "{$player->getName()} left the game.");
}
}
}

View file

@ -82,7 +82,7 @@ class StartGameTask extends PluginTask {
break;
case 1:
foreach($this->world->getLevel()->getPlayers() as $player) {
$player->sendMessage(Main::PREFIX . C::YELLOW . "1 seconds before the game starts");
$player->sendMessage(Main::PREFIX . C::YELLOW . "1 second before the game starts");
}
break;
case 0: