This commit is contained in:
2021-02-20 13:02:58 +08:00
parent 874085f97a
commit d05cb47f66
18 changed files with 56 additions and 49 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class OnStart extends Callback
if (Snowflake::isLinux()) {
name(Config::get('id', false, 'system:') . ': master.');
}
$event = Snowflake::app()->event;
$event = Snowflake::app()->getEvent();
$event->trigger(Event::SERVER_EVENT_START, null, $server);
}