Remove the code that forces to use LaunchWrapper 2.0

This commit is contained in:
khanhduytran0 2020-11-22 15:27:38 +07:00
parent 7a148a58d5
commit f0a72d76d4

View File

@ -530,11 +530,6 @@ public final class Tools
for (DependentLibrary lib : customVer.libraries) {
if (lib.name.startsWith(optifineLib)) {
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()) {