diff --git a/application/core/Maps/MapList.php b/application/core/Maps/MapList.php index 674b6c97..ebdd9098 100644 --- a/application/core/Maps/MapList.php +++ b/application/core/Maps/MapList.php @@ -622,6 +622,10 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener { } catch (NextMapException $exception) { $this->maniaControl->chat->sendError('Error on Jumping to Map Ident: ' . $exception->getMessage(), $player); break; + } catch (NotInListException $exception) { + // TODO: "Map not found." -> how is that possible? + $this->maniaControl->chat->sendError('Error on Jumping to Map Ident: ' . $exception->getMessage(), $player); + break; } $map = $this->maniaControl->mapManager->getMapByUid($mapUid);