mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
Hardcode LWJGL 2.9.1 for OneSix, only allow chancging Minecraft versions for now.
This commit is contained in:
parent
84ae67fff5
commit
223a7aba7b
@ -368,4 +368,12 @@ void VersionPage::versionCurrent(const QModelIndex ¤t, const QModelIndex &
|
||||
ui->moveLibraryDownBtn->setEnabled(enabled);
|
||||
ui->moveLibraryUpBtn->setEnabled(enabled);
|
||||
}
|
||||
if(m_version->versionFileId(current.row()) == "net.minecraft")
|
||||
{
|
||||
ui->changeMCVersionBtn->setEnabled(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->changeMCVersionBtn->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
@ -185,7 +185,8 @@ void VersionBuilder::buildFromMultilayer()
|
||||
minecraftPatch->setOrder(-2);
|
||||
m_version->VersionPatches.append(minecraftPatch);
|
||||
|
||||
QResource LWJGL(":/versions/LWJGL/2.9.0.json");
|
||||
// TODO: this is obviously fake.
|
||||
QResource LWJGL(":/versions/LWJGL/2.9.1.json");
|
||||
auto lwjgl = parseJsonFile(LWJGL.absoluteFilePath(), false, false);
|
||||
auto lwjglPatch = std::dynamic_pointer_cast<VersionPatch>(lwjgl);
|
||||
if (!lwjglPatch)
|
||||
|
Loading…
Reference in New Issue
Block a user