From dff307557bf69cb2dc6cc264b485865469ef64fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 6 Apr 2017 23:32:20 +0200 Subject: NOISSUE fix liteloader uid where it is hardcoded hardcoded --- api/logic/minecraft/onesix/OneSixInstance.cpp | 4 ++-- api/logic/minecraft/onesix/OneSixProfileStrategy.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'api/logic/minecraft/onesix') 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; -- cgit v1.2.3