replaced startup server options loading message by logging
This commit is contained in:
parent
0eb2e0922b
commit
b36eff12bc
@ -15,6 +15,7 @@ use ManiaControl\Callbacks\CallbackListener;
|
||||
use ManiaControl\Callbacks\Callbacks;
|
||||
use ManiaControl\Callbacks\TimerListener;
|
||||
use ManiaControl\Configurator\ConfiguratorMenu;
|
||||
use ManiaControl\Logger;
|
||||
use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Players\Player;
|
||||
use Maniaplanet\DedicatedServer\Structures\ServerOptions;
|
||||
@ -205,9 +206,9 @@ class ServerOptionsMenu implements CallbackListener, ConfiguratorMenu, TimerList
|
||||
}
|
||||
|
||||
if ($loaded) {
|
||||
$this->maniaControl->chat->sendSuccessToAdmins('Server Options successfully loaded!');
|
||||
Logger::logInfo('Server Options successfully loaded!');
|
||||
} else {
|
||||
$this->maniaControl->chat->sendErrorToAdmins('Error loading Server Options!');
|
||||
Logger::logError('Error loading Server Options!');
|
||||
}
|
||||
|
||||
return $loaded;
|
||||
|
Loading…
Reference in New Issue
Block a user