diff --git a/system/Application.php b/system/Application.php index 99662926..bb2c7461 100644 --- a/system/Application.php +++ b/system/Application.php @@ -34,11 +34,12 @@ class Application extends BaseApplication */ public function init() { - /** @var Server $https */ - $https = $this->make(Server::class, Server::class); + $application = Snowflake::get(); + + $https = $application->server; $https->initCore(Config::get('servers', true)); - $process = Snowflake::get()->processes; + $process = $application->processes; $process->initCore(); }