style(sern.ts): minimized code, refactor style

This commit is contained in:
jacoobes
2022-02-21 00:51:00 -06:00
parent 1cff46c0ab
commit d17f999d69

View File

@@ -45,7 +45,7 @@ export class Handler {
.on('ready', async () => {
Files.buildData(this)
.then(data => this.registerModules(data));
if (wrapper.init !== undefined) wrapper.init(this);
wrapper.init?.(this);
new Logger().tableRam();
})