1
0
Fork 0
refactor/models
Matthew 2020-12-18 19:45:05 -05:00
parent 76e189cbc9
commit 22c095ca7d
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ export default class CSCLI {
}
public load(handlerFiles: { [s: string]: typeof TCPHandler; } | ArrayLike<typeof TCPHandler>) {
this.handlers = new Collection();
const hdFiles = Object.values<typeof TCPHandler>(handlerFiles);
for (const Handler of hdFiles) {
const handler = new Handler();