mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Changes
- Remove "id=inheritsFrom" - [Mod installer] Fix JNI thread attach. Current TODO: complete "inheritsFrom" implementation to get Fabric to work.
This commit is contained in:
parent
c0d09d4f5f
commit
d00035d645
4 changed files with 5 additions and 8 deletions
|
|
@ -168,11 +168,7 @@ public final class Tools
|
|||
javaArgList.addAll(overrideableArgList);
|
||||
}
|
||||
|
||||
public static String[] getMinecraftArgs(MCProfile.Builder profile, JMinecraftVersionList.Version versionInfo)
|
||||
{
|
||||
if(versionInfo.inheritsFrom != null) {
|
||||
versionInfo.id = versionInfo.inheritsFrom;
|
||||
}
|
||||
public static String[] getMinecraftArgs(MCProfile.Builder profile, JMinecraftVersionList.Version versionInfo) {
|
||||
String username = profile.getUsername();
|
||||
String versionName = profile.getVersion();
|
||||
if(versionInfo.inheritsFrom != null) {
|
||||
|
|
@ -244,12 +240,12 @@ public final class Tools
|
|||
|
||||
private static String[] splitAndFilterEmpty(String argStr) {
|
||||
List<String> strList = new ArrayList<String>();
|
||||
strList.add("--fullscreen");
|
||||
for (String arg : argStr.split(" ")) {
|
||||
if (!arg.isEmpty()) {
|
||||
strList.add(arg);
|
||||
}
|
||||
}
|
||||
strList.add("--fullscreen");
|
||||
return strList.toArray(new String[0]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue