Fixing classpath argument for Unix-like systems (macOS, Linux).

Game should now launch on these two systems.
This commit is contained in:
Daniel Scalzi 2018-04-15 00:21:26 -04:00
parent be39d60705
commit 2f899822b5
No known key found for this signature in database
GPG Key ID: 5CA2F145B63535F9

View File

@ -113,7 +113,7 @@ class ProcessBuilder {
'-Xms' + ConfigManager.getMinRAM(),,
'-Djava.library.path=' + tempNativePath,
'-cp',
this.classpathArg(mods, tempNativePath).join(';'),
this.classpathArg(mods, tempNativePath).join(process.platform === 'win32' ? ';' : ':'),
this.forgeData.mainClass]
// For some reason this will add an undefined value unless