This commit is contained in:
2020-09-03 00:58:30 +08:00
parent 56dc298993
commit f833b45b4e
-4
View File
@@ -68,10 +68,6 @@ class Server extends Application
*/ */
public function initCore(array $configs) public function initCore(array $configs)
{ {
if ($this->baseServer) {
return $this->getServer();
}
$annotation = Snowflake::get()->annotation; $annotation = Snowflake::get()->annotation;
$annotation->register('tcp', Tcp::class); $annotation->register('tcp', Tcp::class);
$annotation->register('http', Annotation::class); $annotation->register('http', Annotation::class);