precise TrackManiaControl in some messages

This commit is contained in:
Beu 2022-03-03 19:20:50 +01:00
parent 284313dd1e
commit a4594122dc

View File

@ -547,7 +547,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
* @param Player $player * @param Player $player
*/ */
public function commandVersion(array $chatCallback, Player $player) { public function commandVersion(array $chatCallback, Player $player) {
$message = 'This server is using ManiaControl v' . ManiaControl::VERSION . '!'; $message = 'This server is using TrackManiaControl v' . ManiaControl::VERSION . '!';
$this->getChat()->sendInformation($message, $player); $this->getChat()->sendInformation($message, $player);
} }
@ -678,7 +678,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
// Loading finished // Loading finished
Logger::log('Loading completed!'); Logger::log('Loading completed!');
Logger::log('Link: ' . $this->getServer()->getJoinLink()); Logger::log('Link: ' . $this->getServer()->getJoinLink());
$this->getChat()->sendInformation('ManiaControl v' . self::VERSION . ' successfully started!'); $this->getChat()->sendInformation('TrackManiaControl v' . self::VERSION . ' successfully started!');
$this->startTime = time(); $this->startTime = time();