fix: support Quilt from Minecraft 1.14 onwards
This commit is contained in:
parent
14a0e85862
commit
18ac109e5a
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user