exception fix

This commit is contained in:
kremsy 2014-04-19 23:38:08 +02:00 committed by Steffen Schröder
parent ce22feee51
commit 7bb2d98a43

View File

@ -185,9 +185,10 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
$this->maniaControl->authenticationManager->sendNotAllowed($player);
return;
}
try {
$this->maniaControl->client->nextMap();
} catch(ChangeInProgressException $e) {
}
$message = '$<' . $player->nickname . '$> skipped the current Map!';
$this->maniaControl->chat->sendSuccess($message);
$this->maniaControl->log($message, true);