Add support for 1.7.4 user_type (needs testing with legacy accounts)

This commit is contained in:
Petr Mrázek
2013-12-13 02:47:59 +01:00
parent bf34aa7fbd
commit 39aebddf3b
12 changed files with 58 additions and 19 deletions

View File

@ -165,7 +165,7 @@ std::shared_ptr<OneSixVersion> OneSixVersion::fromJson(QJsonObject root)
root.value("minimumLauncherVersion").toDouble();
// ADD MORE HERE :D
if (launcher_ver > 0 && launcher_ver <= 12)
if (launcher_ver > 0 && launcher_ver <= 13)
return fromJsonV4(root, readVersion);
else
{