mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 09:07:48 -04:00
Try to fix up Fabric
This commit is contained in:
parent
e7696ae9f5
commit
1dae5afea1
@ -170,8 +170,14 @@ public final class Tools
|
|||||||
|
|
||||||
public static String[] getMinecraftArgs(MCProfile.Builder profile, JMinecraftVersionList.Version versionInfo)
|
public static String[] getMinecraftArgs(MCProfile.Builder profile, JMinecraftVersionList.Version versionInfo)
|
||||||
{
|
{
|
||||||
|
if(versionInfo.inheritsFrom != null) {
|
||||||
|
versionInfo.id = versioninfo.inheritsFrom;
|
||||||
|
}
|
||||||
String username = profile.getUsername();
|
String username = profile.getUsername();
|
||||||
String versionName = profile.getVersion();
|
String versionName = profile.getVersion();
|
||||||
|
if(versionInfo.inheritsFrom != null) {
|
||||||
|
versionName=versionInfo.inheritsFrom;
|
||||||
|
}
|
||||||
String mcAssetsDir = Tools.ASSETS_PATH;
|
String mcAssetsDir = Tools.ASSETS_PATH;
|
||||||
String userType = "mojang";
|
String userType = "mojang";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user