SCRATCH remove remaining references to MultiMC.h and fix legacy LWJGL
This commit is contained in:
parent
382ae78a0b
commit
d313e9ab09
28 changed files with 209 additions and 121 deletions
|
@ -2,8 +2,7 @@
|
|||
#include "logic/minecraft/VersionBuildError.h"
|
||||
#include "logic/OneSixInstance.h"
|
||||
#include "logic/minecraft/MinecraftVersionList.h"
|
||||
|
||||
#include "MultiMC.h"
|
||||
#include "logic/Env.h"
|
||||
|
||||
#include <pathutils.h>
|
||||
#include <QDir>
|
||||
|
@ -73,8 +72,7 @@ void OneSixProfileStrategy::loadDefaultBuiltinPatches()
|
|||
}
|
||||
else
|
||||
{
|
||||
auto minecraftList = MMC->minecraftlist();
|
||||
auto mcversion = minecraftList->findVersion(m_instance->intendedVersionId());
|
||||
auto mcversion = ENV.getVersion("net.minecraft", m_instance->intendedVersionId());
|
||||
minecraftPatch = std::dynamic_pointer_cast<ProfilePatch>(mcversion);
|
||||
}
|
||||
if (!minecraftPatch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue