This commit is contained in:
2020-09-03 11:39:20 +08:00
parent 274332207b
commit efbb049824
42 changed files with 101 additions and 101 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class OnManagerStop extends Callback
{
$this->warning('manager stop.');
$events = Snowflake::get()->event;
$events = Snowflake::app()->event;
if ($events->exists(Event::SERVER_MANAGER_STOP)) {
$events->trigger(Event::SERVER_MANAGER_STOP, [$server]);
}