fix: support Quilt from Minecraft 1.14 onwards

This commit is contained in:
Sefa Eyeoglu 2022-04-14 17:20:07 +02:00
parent 14a0e85862
commit 18ac109e5a
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -243,7 +243,7 @@ void VersionPage::updateVersionControls()
bool supportsFabric = minecraftVersion >= Version("1.14"); bool supportsFabric = minecraftVersion >= Version("1.14");
ui->actionInstall_Fabric->setEnabled(controlsEnabled && supportsFabric); ui->actionInstall_Fabric->setEnabled(controlsEnabled && supportsFabric);
bool supportsQuilt = minecraftVersion >= Version("1.17.1"); bool supportsQuilt = minecraftVersion >= Version("1.14");
ui->actionInstall_Quilt->setEnabled(controlsEnabled && supportsQuilt); ui->actionInstall_Quilt->setEnabled(controlsEnabled && supportsQuilt);
bool supportsLiteLoader = minecraftVersion <= Version("1.12.2"); bool supportsLiteLoader = minecraftVersion <= Version("1.12.2");