mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2025-02-23 20:51:30 +03:00
Optifine fix + NPM push.
should let all custom installations work now since the MC version jar was moved. Tested on: Optifine, Fabric, Vanilla
This commit is contained in:
parent
7db0139b58
commit
2f65a98d9a
3 changed files with 4 additions and 4 deletions
|
@ -107,8 +107,8 @@ class MCLCore extends EventEmitter {
|
|||
} else {
|
||||
const file = custom || versionFile;
|
||||
// So mods like fabric work.
|
||||
const jar = fs.existsSync(mcPath) ? `${mcPath}${separator}` : `${path.join(directory, `${this.options.version.number}.jar`)}${separator}`;
|
||||
classPaths.push(`${jar}${classes.join(separator)}`);
|
||||
const jar = fs.existsSync(mcPath) ? `${separator}${mcPath}` : `${separator}${path.join(directory, `${this.options.version.number}.jar`)}`;
|
||||
classPaths.push(`${classes.join(separator)}${jar}`);
|
||||
classPaths.push(file.mainClass);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue