Fix saving plugins option

This commit is contained in:
Pig Fang 2019-08-28 15:32:49 +08:00
parent 49bf12675d
commit fb3f58856c

View File

@ -116,7 +116,7 @@ class PluginManager
$manifest['version'],
$this->enabled->get($name)['version']
)) {
$this->enabled->put($name, $manifest['version']);
$this->enabled->put($name, ['version' => $manifest['version']]);
$this->dispatcher->dispatch(new Events\PluginVersionChanged($plugin));
}
}