mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -04:00
[Forge installer 1.12+] Additional checks
Now launcer would read from /version.json by default if field is null
This commit is contained in:
parent
3f88a4b8d1
commit
1aa0ee5e99
@ -29,7 +29,7 @@ public class NewForgeInstaller extends BaseInstaller {
|
||||
ctx.appendlnToLog("Writing " + target);
|
||||
Tools.write(
|
||||
target,
|
||||
Tools.convertStream(mJarFile.getInputStream(mJarFile.getEntry(profile.json)))
|
||||
Tools.convertStream(mJarFile.getInputStream(mJarFile.getEntry(profile.json==null ? "/version.json" : profile.json)))
|
||||
);
|
||||
|
||||
// Forge 1.12.2+ installer does not include universal, so download
|
||||
|
Loading…
x
Reference in New Issue
Block a user