diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-03-30 01:05:58 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-07 00:20:02 +0200 |
commit | 2ac0edbbdb27e12bae00c4779da135582bde89f5 (patch) | |
tree | 0870890a8f00bb958a679175691724da727df580 /api/logic/minecraft/onesix/OneSixProfileStrategy.cpp | |
parent | 53188386b807f1f1ca5eebcd08303633ca4a13fb (diff) | |
download | PrismLauncher-2ac0edbbdb27e12bae00c4779da135582bde89f5.tar.gz PrismLauncher-2ac0edbbdb27e12bae00c4779da135582bde89f5.tar.bz2 PrismLauncher-2ac0edbbdb27e12bae00c4779da135582bde89f5.zip |
NOISSUE preview of LWJGL version changing
It still needs work - some LWJGL versions are exclusive to macOS.
This has to be encoded in the json.
Diffstat (limited to 'api/logic/minecraft/onesix/OneSixProfileStrategy.cpp')
-rw-r--r-- | api/logic/minecraft/onesix/OneSixProfileStrategy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp b/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp index 8125b1d6..4a56a810 100644 --- a/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp +++ b/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp @@ -114,8 +114,8 @@ void OneSixProfileStrategy::loadDefaultBuiltinPatches() profilePatch->setOrder(order); profile->appendPatch(profilePatch); }; - addBuiltinPatch("net.minecraft", m_instance->intendedVersionId(), -2); - addBuiltinPatch("org.lwjgl", "2.9.1", -1); + addBuiltinPatch("net.minecraft", m_instance->getComponentVersion("net.minecraft"), -2); + addBuiltinPatch("org.lwjgl", m_instance->getComponentVersion("org.lwjgl"), -1); } void OneSixProfileStrategy::loadUserPatches() |