Remove extraneous code in if(false)
This commit is contained in:
parent
8f460d56a9
commit
6c2f05c487
1 changed files with 0 additions and 12 deletions
|
@ -31,18 +31,6 @@ const convertChatTypeItem = (item) => {
|
||||||
// Level 1: server chat format parsers
|
// Level 1: server chat format parsers
|
||||||
// Level 2: generic parsers
|
// Level 2: generic parsers
|
||||||
|
|
||||||
if(false){
|
|
||||||
for (const plugin of bpl) {
|
|
||||||
if (!plugin.endsWith('.js')) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
const parser = require(`./chatParsers/${plugin}`)
|
|
||||||
parsers[parser.priority].push(parser.parse)
|
|
||||||
} catch (e) { console.log(e) }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const parsers = [[], [], []]
|
const parsers = [[], [], []]
|
||||||
const bpl = readdirSync('chatParsers')
|
const bpl = readdirSync('chatParsers')
|
||||||
for (const plugin of bpl) {
|
for (const plugin of bpl) {
|
||||||
|
|
Loading…
Reference in a new issue