Try to fix up Fabric

This commit is contained in:
ArtDev 2020-11-06 13:22:11 +03:00 committed by GitHub
parent e7696ae9f5
commit 1dae5afea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";