mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Multiple changes
- Force to use LaunchWrapper 2.0 or above, to fix java9 compatibility issue. - Remove Regal libraries. - Update version name
This commit is contained in:
parent
d606d25bea
commit
11f1e1b5c9
5 changed files with 7 additions and 5 deletions
|
|
@ -640,8 +640,12 @@ public final class Tools
|
|||
for (DependentLibrary lib : customVer.libraries) {
|
||||
if (lib.name.startsWith(optifineLib)) {
|
||||
customVer.optifineLib = lib;
|
||||
break;
|
||||
}
|
||||
} 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) {
|
||||
return customVer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue