This commit is contained in:
Beu 2025-02-17 21:50:43 +01:00
parent 04a35dc47f
commit 356cab4869

View File

@ -516,7 +516,7 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener,
); );
$this->maniaControl->getChat()->sendInformation($message, $player); $this->maniaControl->getChat()->sendInformation($message, $player);
} else { } else {
$message = $this->maniaControl->getChat()->formatMesssage( $message = $this->maniaControl->getChat()->formatMessage(
'New Nightly Build (%s) available! (Current Build: %s)', 'New Nightly Build (%s) available! (Current Build: %s)',
$updateData->releaseDate, $updateData->releaseDate,
$buildDate $buildDate
@ -524,14 +524,14 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener,
$this->maniaControl->getChat()->sendSuccess($message, $player); $this->maniaControl->getChat()->sendSuccess($message, $player);
} }
} else { } else {
$message = $this->maniaControl->getChat()->formatMesssage( $message = $this->maniaControl->getChat()->formatMessage(
'New Nightly Build (%s) available!', 'New Nightly Build (%s) available!',
$updateData->releaseDate $updateData->releaseDate
); );
$this->maniaControl->getChat()->sendSuccess($message, $player); $this->maniaControl->getChat()->sendSuccess($message, $player);
} }
} else { } else {
$message = $this->maniaControl->getChat()->formatMesssage( $message = $this->maniaControl->getChat()->formatMessage(
'Update for Version %s available!', 'Update for Version %s available!',
$updateData->version $updateData->version
); );