mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -08:00
Add version.jar to cp until 1.17.
This commit is contained in:
parent
84dd03c01a
commit
79e901051d
@ -670,10 +670,13 @@ class ProcessBuilder {
|
|||||||
classpathArg(mods, tempNativePath){
|
classpathArg(mods, tempNativePath){
|
||||||
let cpArgs = []
|
let cpArgs = []
|
||||||
|
|
||||||
// Add the version.jar to the classpath.
|
if(!Util.mcVersionAtLeast('1.17', this.server.getMinecraftVersion())) {
|
||||||
// TODO Needs to be removed for 1.17+, need to test earlier versions.
|
// Add the version.jar to the classpath.
|
||||||
// const version = this.versionData.id
|
// Must not be added to the classpath for Forge 1.17+.
|
||||||
// cpArgs.push(path.join(this.commonDir, 'versions', version, version + '.jar'))
|
const version = this.versionData.id
|
||||||
|
cpArgs.push(path.join(this.commonDir, 'versions', version, version + '.jar'))
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if(this.usingLiteLoader){
|
if(this.usingLiteLoader){
|
||||||
cpArgs.push(this.llPath)
|
cpArgs.push(this.llPath)
|
||||||
|
Loading…
Reference in New Issue
Block a user