Update api to 1.2.5

This commit is contained in:
IzzelAliz 2021-12-28 22:18:28 +08:00
parent 0ede4c8881
commit 2987cd86a5
No known key found for this signature in database
GPG Key ID: EE50E123A11D8338
2 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,7 @@ allprojects {
agpVersion = '1.22'
minecraftVersion = '1.18.1'
forgeVersion = '39.0.0'
apiVersion = '1.2.4'
apiVersion = '1.2.5'
toolsVersion = '1.3.+'
mixinVersion = '0.8.5'
gitHash = getGitHash()

View File

@ -105,10 +105,12 @@ public class ForgeInstaller {
Method method = loader.loadClass("net.minecraftforge.installer.SimpleInstaller").getMethod("main", String[].class);
method.invoke(null, (Object) new String[]{"--installServer", ".", "--debug"});
}
System.exit(0);
}
handleFutures(System.out::println, array);
pool.shutdownNow();
if (installForge) {
System.exit(0);
}
}
return classpath(path, installInfo);
}