From 12413f722de65fc221d2938cb16173be5b7e95d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 4 Apr 2016 00:33:56 +0200 Subject: GH-575 separate legacy jar mod list from mod list --- api/logic/minecraft/legacy/LegacyInstance.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'api/logic/minecraft/legacy/LegacyInstance.cpp') diff --git a/api/logic/minecraft/legacy/LegacyInstance.cpp b/api/logic/minecraft/legacy/LegacyInstance.cpp index c64bcb09..28fd8872 100644 --- a/api/logic/minecraft/legacy/LegacyInstance.cpp +++ b/api/logic/minecraft/legacy/LegacyInstance.cpp @@ -20,6 +20,7 @@ #include "LegacyInstance.h" #include "minecraft/legacy/LegacyUpdate.h" +#include "minecraft/legacy/LegacyModList.h" #include "launch/LaunchTask.h" #include #include @@ -274,11 +275,11 @@ std::shared_ptr LegacyInstance::coreModList() const return core_mod_list; } -std::shared_ptr LegacyInstance::jarModList() const +std::shared_ptr LegacyInstance::jarModList() const { if (!jar_mod_list) { - auto list = new ModList(jarModsDir(), modListFile()); + auto list = new LegacyModList(jarModsDir(), modListFile()); connect(list, SIGNAL(changed()), SLOT(jarModsChanged())); jar_mod_list.reset(list); } -- cgit v1.2.3