better error message on addmap
This commit is contained in:
parent
41df9efdbf
commit
a9c509c8e9
@ -322,7 +322,7 @@ class MapManager implements CallbackListener {
|
|||||||
try {
|
try {
|
||||||
$this->maniaControl->client->checkMapForCurrentServerParams($relativeMapFileName);
|
$this->maniaControl->client->checkMapForCurrentServerParams($relativeMapFileName);
|
||||||
} catch (InvalidMapException $e) {
|
} catch (InvalidMapException $e) {
|
||||||
$this->maniaControl->chat->sendError('Wrong MapType or not validated!', $login);
|
$this->maniaControl->chat->sendException($e, $login);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user