NOISSUE remove the hardcoded blocking of Forge installs
Doesn't make it work, but makes it theoretically possible.
This commit is contained in:
parent
a5581b479e
commit
90a62c429a
@ -215,9 +215,6 @@ 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 supportsForge = minecraftVersion <= Version("1.16.5");
|
|
||||||
ui->actionInstall_Forge->setEnabled(controlsEnabled && supportsForge);
|
|
||||||
|
|
||||||
bool supportsLiteLoader = minecraftVersion <= Version("1.12.2");
|
bool supportsLiteLoader = minecraftVersion <= Version("1.12.2");
|
||||||
ui->actionInstall_LiteLoader->setEnabled(controlsEnabled && supportsLiteLoader);
|
ui->actionInstall_LiteLoader->setEnabled(controlsEnabled && supportsLiteLoader);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user