fix: removed unwanted log message
Massimo Melina committed
Oct 24, 2023 at 13:07 UTC
1f55c9b6926ccbd960ffd4e6bf392f56e59cf758
1 file changed
+1
-1
src/plugins.ts
+1
-1
@@ -199,7 +199,7 @@ export class Plugin implements CommonPluginInterface {
199
const { id } = this
200
try {
201
await this.data?.unload?.()
202
- if (!reloading) // we already printed 'reloading'
202
+ if (!reloading && id !== SERVER_CODE_ID) // we already printed 'reloading'
203
console.log('unloaded plugin', id)
204
}
205
catch(e) {