Hardcode LWJGL 2.9.1 for OneSix, only allow chancging Minecraft versions for now.
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user