summaryrefslogtreecommitdiffstats
path: root/api/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-04-06 23:32:20 +0200
committerPetr Mrázek <peterix@gmail.com>2017-04-07 00:20:02 +0200
commitdff307557bf69cb2dc6cc264b485865469ef64fd (patch)
tree17737a9b988ca3f70d9575562f77aca1062d565f /api/logic
parent643d74f66c2b22660264a393d5c3fa38f68a5d59 (diff)
downloadMultiMC-dff307557bf69cb2dc6cc264b485865469ef64fd.tar
MultiMC-dff307557bf69cb2dc6cc264b485865469ef64fd.tar.gz
MultiMC-dff307557bf69cb2dc6cc264b485865469ef64fd.tar.lz
MultiMC-dff307557bf69cb2dc6cc264b485865469ef64fd.tar.xz
MultiMC-dff307557bf69cb2dc6cc264b485865469ef64fd.zip
NOISSUE fix liteloader uid where it is hardcoded hardcoded
Diffstat (limited to 'api/logic')
-rw-r--r--api/logic/minecraft/onesix/OneSixInstance.cpp4
-rw-r--r--api/logic/minecraft/onesix/OneSixProfileStrategy.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/api/logic/minecraft/onesix/OneSixInstance.cpp b/api/logic/minecraft/onesix/OneSixInstance.cpp
index 4a4380a4..2d50330f 100644
--- a/api/logic/minecraft/onesix/OneSixInstance.cpp
+++ b/api/logic/minecraft/onesix/OneSixInstance.cpp
@@ -510,7 +510,7 @@ bool OneSixInstance::setComponentVersion(const QString& uid, const QString& vers
{
settings()->set("ForgeVersion", version);
}
- else if (uid == "com.liteloader")
+ else if (uid == "com.mumfrey.liteloader")
{
settings()->set("LiteloaderVersion", version);
}
@@ -536,7 +536,7 @@ QString OneSixInstance::getComponentVersion(const QString& uid) const
{
return settings()->get("ForgeVersion").toString();
}
- else if(uid == "com.liteloader")
+ else if(uid == "com.mumfrey.liteloader")
{
return settings()->get("LiteloaderVersion").toString();
}
diff --git a/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp b/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp
index e08dd529..d3e137c7 100644
--- a/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp
+++ b/api/logic/minecraft/onesix/OneSixProfileStrategy.cpp
@@ -158,7 +158,7 @@ void OneSixProfileStrategy::loadUserPatches()
}
};
loadSpecial("net.minecraftforge", 5);
- loadSpecial("com.liteloader", 10);
+ loadSpecial("com.mumfrey.liteloader", 10);
// now add all the patches by user sort order
ProfileUtils::PatchOrder userOrder;