diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-02-02 01:09:28 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-12 20:57:17 +0200 |
commit | d313e9ab09639346526b75c92498188753cb5b87 (patch) | |
tree | 1df78fb6150b77a705b48aa3af0a845131000309 /logic/minecraft/MinecraftInstance.cpp | |
parent | 382ae78a0bf75892827321b052c6afbd195476bc (diff) | |
download | MultiMC-d313e9ab09639346526b75c92498188753cb5b87.tar MultiMC-d313e9ab09639346526b75c92498188753cb5b87.tar.gz MultiMC-d313e9ab09639346526b75c92498188753cb5b87.tar.lz MultiMC-d313e9ab09639346526b75c92498188753cb5b87.tar.xz MultiMC-d313e9ab09639346526b75c92498188753cb5b87.zip |
SCRATCH remove remaining references to MultiMC.h and fix legacy LWJGL
Diffstat (limited to 'logic/minecraft/MinecraftInstance.cpp')
-rw-r--r-- | logic/minecraft/MinecraftInstance.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/minecraft/MinecraftInstance.cpp b/logic/minecraft/MinecraftInstance.cpp index c7edaf82..11a29f04 100644 --- a/logic/minecraft/MinecraftInstance.cpp +++ b/logic/minecraft/MinecraftInstance.cpp @@ -1,7 +1,7 @@ #include "MinecraftInstance.h" -#include "MultiMC.h" #include "logic/settings/SettingsObject.h" #include <pathutils.h> +#include "logic/Env.h" #include "logic/minecraft/MinecraftVersionList.h" MinecraftInstance::MinecraftInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir) @@ -51,6 +51,5 @@ QString MinecraftInstance::minecraftRoot() const std::shared_ptr< BaseVersionList > MinecraftInstance::versionList() const { - return std::dynamic_pointer_cast<BaseVersionList>(MMC->minecraftlist()); + return ENV.getVersionList("net.minecraft"); } - |