Minecraft launches!! 1.19 at least
This commit is contained in:
parent
5a620749d3
commit
c136c3f804
@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'tech.nevets.jaml'
|
||||
version '0.8.2'
|
||||
version '0.8.3'
|
||||
def build = 'dev'
|
||||
|
||||
repositories {
|
||||
|
@ -59,7 +59,7 @@ public class Launcher {
|
||||
|
||||
public void launch() {
|
||||
try {
|
||||
ArrayList<String> commandArray = parseCommand(jdkVersion, memoryAmount, "1.19", garbageCollection);
|
||||
ArrayList<String> commandArray = parseCommand(jdkVersion, memoryAmount, ProfileUtils.getActiveProfile().getVersion(), garbageCollection);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
@ -102,7 +102,7 @@ public class Launcher {
|
||||
sb.append(lib);
|
||||
sb.append(";");
|
||||
}
|
||||
sb.setLength(sb.length() - 1);
|
||||
sb.append("versions/").append(version).append("/").append(version).append(".jar");
|
||||
} else {
|
||||
VersionUtils.getLibs();
|
||||
String[] libs = CacheUtils.getCache(version);
|
||||
@ -114,7 +114,7 @@ public class Launcher {
|
||||
sb.append(lib);
|
||||
sb.append(";");
|
||||
}
|
||||
sb.setLength(sb.length() - 1);
|
||||
sb.append("versions/").append(version).append("/").append(version).append(".jar");
|
||||
}
|
||||
ArrayList<String> cmd = new ArrayList<>();
|
||||
if (jdkVersion == 8) {
|
||||
|
Loading…
Reference in New Issue
Block a user