PHPDoc improvements
Replaced deprecated method call
This commit is contained in:
1 parent
7bcd42d927
commit
6ca5decdb4
13 files changed
+27
-22
No files matched your search
@@ -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