GH-983 use 'minecraft.jar' for ancient jar-modded versions

Fixes NEI in MC 1.4.7 and probably other obscure issues
This commit is contained in:
Petr Mrázek
2015-05-21 22:38:31 +02:00
parent 22a0294a33
commit 29ce36c7bc
2 changed files with 8 additions and 2 deletions

View File

@ -144,7 +144,7 @@ BaseProcess *OneSixInstance::prepareForLaunch(AuthSessionPtr session)
auto jarMods = getJarMods();
if (!jarMods.isEmpty())
{
launchScript += "cp " + QDir(instanceRoot()).absoluteFilePath("temp.jar") + "\n";
launchScript += "cp " + QDir(instanceRoot()).absoluteFilePath("minecraft.jar") + "\n";
}
else
{