Use Chat::formatMessage in Configurator/*, ManiaExchange/* and Maps/*

This commit is contained in:
Alexander Nell committed 2020-05-27 00:01:36 +02:00
1 parent 1d0215df52
commit 06f24a1bfb
9 files changed
+292 -127

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
$mxSearch->fetchMapsAsync(function (array $maps) use (&$player) {
if (!$maps) {
$this->maniaControl->getChat()->sendError('No maps found, or MX is down!', $player->login);
$this->maniaControl->getChat()->sendError('No maps found, or MX is down!', $player);
return;
}
$this->showManiaExchangeList($maps, $player);