Update api to 1.2.5
This commit is contained in:
parent
0ede4c8881
commit
2987cd86a5
|
@ -15,7 +15,7 @@ allprojects {
|
||||||
agpVersion = '1.22'
|
agpVersion = '1.22'
|
||||||
minecraftVersion = '1.18.1'
|
minecraftVersion = '1.18.1'
|
||||||
forgeVersion = '39.0.0'
|
forgeVersion = '39.0.0'
|
||||||
apiVersion = '1.2.4'
|
apiVersion = '1.2.5'
|
||||||
toolsVersion = '1.3.+'
|
toolsVersion = '1.3.+'
|
||||||
mixinVersion = '0.8.5'
|
mixinVersion = '0.8.5'
|
||||||
gitHash = getGitHash()
|
gitHash = getGitHash()
|
||||||
|
|
|
@ -105,10 +105,12 @@ public class ForgeInstaller {
|
||||||
Method method = loader.loadClass("net.minecraftforge.installer.SimpleInstaller").getMethod("main", String[].class);
|
Method method = loader.loadClass("net.minecraftforge.installer.SimpleInstaller").getMethod("main", String[].class);
|
||||||
method.invoke(null, (Object) new String[]{"--installServer", ".", "--debug"});
|
method.invoke(null, (Object) new String[]{"--installServer", ".", "--debug"});
|
||||||
}
|
}
|
||||||
System.exit(0);
|
|
||||||
}
|
}
|
||||||
handleFutures(System.out::println, array);
|
handleFutures(System.out::println, array);
|
||||||
pool.shutdownNow();
|
pool.shutdownNow();
|
||||||
|
if (installForge) {
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return classpath(path, installInfo);
|
return classpath(path, installInfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user