mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 04:06:21 +03:00
Forge -> Custom -> Vanilla
This commit is contained in:
parent
6efbc5e2c5
commit
5e5cf5158e
1 changed files with 1 additions and 2 deletions
|
@ -85,8 +85,7 @@ class MCLCore extends EventEmitter {
|
|||
this.options.forge = path.resolve(this.options.forge)
|
||||
this.emit('debug', '[MCLC]: Detected Forge in options, getting dependencies')
|
||||
modifyJson = await this.handler.getForgedWrapped()
|
||||
}
|
||||
if (this.options.version.custom) {
|
||||
} else if (this.options.version.custom) {
|
||||
this.emit('debug', '[MCLC]: Detected custom in options, setting custom version file')
|
||||
modifyJson = modifyJson || JSON.parse(fs.readFileSync(path.join(this.options.root, 'versions', this.options.version.custom, `${this.options.version.custom}.json`), { encoding: 'utf8' }))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue