mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-10-03 19:10:36 -04:00
[Forge Installer 1.12+]Use net/minecraftforge...
...instead of net.minecraftforge
This commit is contained in:
1 parent
989efc3385
commit
26d833fccc
1 file changed
+1
-1
@@ -39,7 +39,7 @@ public class NewForgeInstaller extends BaseInstaller {
|
||||
File libraryFile = new File(Tools.libraries, Tools.artifactToPath(libInfos[0], libInfos[1], libInfos[2]));
|
||||
libraryFile.getParentFile().mkdirs();
|
||||
target = libraryFile.getAbsolutePath();
|
||||
String downloadPath = "https://files.minecraftforge.net/maven/" + profile.path.replace(":", "/") + "/forge-" + libInfos[2] + "-universal.jar";
|
||||
String downloadPath = "https://files.minecraftforge.net/maven/" + profile.path.replace(":", "/").replace(".","/") + "/forge-" + libInfos[2] + "-universal.jar";
|
||||
ctx.appendlnToLog("Downloading " + target);
|
||||
Tools.downloadFile(downloadPath, target);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user