mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Remove the code that forces to use LaunchWrapper 2.0
This commit is contained in:
parent
7a148a58d5
commit
f0a72d76d4
@ -530,11 +530,6 @@ public final class Tools
|
|||||||
for (DependentLibrary lib : customVer.libraries) {
|
for (DependentLibrary lib : customVer.libraries) {
|
||||||
if (lib.name.startsWith(optifineLib)) {
|
if (lib.name.startsWith(optifineLib)) {
|
||||||
customVer.optifineLib = lib;
|
customVer.optifineLib = lib;
|
||||||
} else if (lib.name.startsWith("net.minecraft:launchwrapper")) {
|
|
||||||
int versionIndex = lib.name.lastIndexOf(":");
|
|
||||||
if (lib.name.substring(versionIndex + 1).startsWith("1.")) {
|
|
||||||
lib.name = lib.name.substring(0, versionIndex + 1) + "2.0";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (customVer.inheritsFrom == null || customVer.inheritsFrom.isEmpty()) {
|
if (customVer.inheritsFrom == null || customVer.inheritsFrom.isEmpty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user