tiny tweak

This commit is contained in:
Pig Fang 2020-06-06 11:22:16 +08:00
parent c7b8cdab40
commit ab264604e0

View File

@ -7,25 +7,21 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
class EventServiceProvider extends ServiceProvider class EventServiceProvider extends ServiceProvider
{ {
/** // The event listener mappings for the application.
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [ protected $listen = [
'App\Events\PlayerRetrieved' => [ 'App\Events\PlayerRetrieved' => [
Listeners\ResetInvalidTextureForPlayer::class, Listeners\ResetInvalidTextureForPlayer::class,
], ],
'App\Events\TextureDeleting' => [ 'App\Events\TextureDeleting' => [
'App\Listeners\TextureRemoved', Listeners\TextureRemoved::class,
], ],
'App\Events\PluginWasEnabled' => [ 'App\Events\PluginWasEnabled' => [
Listeners\CopyPluginAssets::class, Listeners\CopyPluginAssets::class,
Listeners\GeneratePluginTranslations::class, Listeners\GeneratePluginTranslations::class,
], ],
'plugin.versionChanged' => [ 'plugin.versionChanged' => [
'App\Listeners\CopyPluginAssets', Listeners\CopyPluginAssets::class,
'App\Listeners\GeneratePluginTranslations', Listeners\GeneratePluginTranslations::class,
], ],
'App\Events\PluginBootFailed' => [ 'App\Events\PluginBootFailed' => [
Listeners\NotifyFailedPlugin::class, Listeners\NotifyFailedPlugin::class,