exception fix
This commit is contained in:
parent
ce22feee51
commit
7bb2d98a43
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user