Fix to use a natives dir of an inherited game version.
This commit is contained in:
parent
73f3561d3f
commit
cd555f0876
@ -103,7 +103,13 @@ func (rc *RunCommand) run_client() error {
|
||||
p["auth_xuid"] = "null"
|
||||
p["user_type"] = "legacy"
|
||||
p["version_type"] = manifst.Type
|
||||
p["natives_directory"] = path.Join("", "versions", manifst.Id, "natives")
|
||||
|
||||
nativesId := manifst.Id
|
||||
if manifst.InheritsFrom != "" {
|
||||
nativesId = manifst.InheritsFrom
|
||||
}
|
||||
p["natives_directory"] = path.Join("", "versions", nativesId, "natives")
|
||||
|
||||
p["launcher_name"] = "mccl"
|
||||
p["launcher_version"] = "0.1.0"
|
||||
p["classpath"] = manifst.BuildClasspath("", "versions")
|
||||
|
Loading…
Reference in New Issue
Block a user