SCRATCH fix version file loading

This commit is contained in:
Petr Mrázek 2015-02-03 02:39:15 +01:00
parent cd9d37aac4
commit b47e196b32

View File

@ -516,7 +516,7 @@ std::shared_ptr<MinecraftVersionList> MultiMC::minecraftlist()
if (!m_minecraftlist) if (!m_minecraftlist)
{ {
m_minecraftlist.reset(new MinecraftVersionList()); m_minecraftlist.reset(new MinecraftVersionList());
ENV.registerVersionList("net.minecraft", m_liteloaderlist); ENV.registerVersionList("net.minecraft", m_minecraftlist);
} }
return m_minecraftlist; return m_minecraftlist;
} }
@ -526,7 +526,7 @@ std::shared_ptr<JavaVersionList> MultiMC::javalist()
if (!m_javalist) if (!m_javalist)
{ {
m_javalist.reset(new JavaVersionList()); m_javalist.reset(new JavaVersionList());
ENV.registerVersionList("com.java", m_liteloaderlist); ENV.registerVersionList("com.java", m_javalist);
} }
return m_javalist; return m_javalist;
} }