PHPDoc improvements
Replaced deprecated method call
This commit is contained in:
@ -123,7 +123,11 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
|
||||
return true;
|
||||
}
|
||||
|
||||
$this->maniaControl->client->setServerOptions($serverSettings);
|
||||
try {
|
||||
$this->maniaControl->client->setServerOptions($serverSettings);
|
||||
} catch (ServerOptionsException $exception) {
|
||||
$this->maniaControl->chat->sendExceptionToAdmins($exception);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user