diff --git a/src/Ad5001/UHC/Main.php b/src/Ad5001/UHC/Main.php index 45e0ac9..04c9901 100644 --- a/src/Ad5001/UHC/Main.php +++ b/src/Ad5001/UHC/Main.php @@ -5,7 +5,7 @@ # | | | | __ | | # | |__| | | | | |____ # \____/|_| |_|\_____| -# The most customisable UHC plugin for Minecraft PE ! +# The most customisable UHC plugin for Minecraft PE! namespace Ad5001\UHC ; use pocketmine\command\CommandSender; use pocketmine\command\Command; @@ -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 "); @@ -185,4 +185,4 @@ switch($cmd->getName()){ } return false; } -} \ No newline at end of file +} diff --git a/src/Ad5001/UHC/UHCWorld.php b/src/Ad5001/UHC/UHCWorld.php index 5b777c0..4e28877 100644 --- a/src/Ad5001/UHC/UHCWorld.php +++ b/src/Ad5001/UHC/UHCWorld.php @@ -5,7 +5,7 @@ # | | | | __ | | # | |__| | | | | |____ # \____/|_| |_|\_____| -# The most customisable UHC plugin for Minecraft PE ! +# The most customisable UHC plugin for Minecraft PE! namespace Ad5001\UHC ; use pocketmine\command\CommandSender; use pocketmine\command\Command; @@ -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."); } } } @@ -60,4 +60,4 @@ class UHCWorld { $this->players = $players; return true; } -} \ No newline at end of file +} diff --git a/src/Ad5001/UHC/task/StartGameTask.php b/src/Ad5001/UHC/task/StartGameTask.php index efa2d41..e247afd 100644 --- a/src/Ad5001/UHC/task/StartGameTask.php +++ b/src/Ad5001/UHC/task/StartGameTask.php @@ -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: @@ -94,4 +94,4 @@ class StartGameTask extends PluginTask { $this->seconds--; } } -} \ No newline at end of file +}