summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--api/logic/minecraft/onesix/OneSixInstance.cpp4
-rw-r--r--api/logic/minecraft/onesix/OneSixProfileStrategy.cpp2
-rw-r--r--application/pages/VersionPage.cpp4
3 files changed, 5 insertions, 5 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;
diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp
index a7029b36..8c14818f 100644
--- a/application/pages/VersionPage.cpp
+++ b/application/pages/VersionPage.cpp
@@ -412,7 +412,7 @@ void VersionPage::on_forgeBtn_clicked()
void VersionPage::on_liteloaderBtn_clicked()
{
- auto vlist = ENV.metadataIndex()->get("com.liteloader");
+ auto vlist = ENV.metadataIndex()->get("com.mumfrey.liteloader");
if(!vlist)
{
return;
@@ -424,7 +424,7 @@ void VersionPage::on_liteloaderBtn_clicked()
if (vselect.exec() && vselect.selectedVersion())
{
auto vsn = vselect.selectedVersion();
- m_inst->setComponentVersion("com.liteloader", vsn->descriptor());
+ m_inst->setComponentVersion("com.mumfrey.liteloader", vsn->descriptor());
m_profile->reload();
// m_profile->installVersion(vselect.selectedVersion());
preselect(m_profile->rowCount(QModelIndex())-1);