Remove LW, should also fix lwjgl 2 being added
parent
18dfa2cdb2
commit
60fd3105cc
|
@ -138,9 +138,6 @@ public class DownloadTask extends DefaultTask {
|
||||||
version.libraries.stream().filter(lib -> lib.natives != null).forEach(lib -> dependencyHandler.add(Constants.CONFIG_NATIVES, lib.getArtifactName()));
|
version.libraries.stream().filter(lib -> lib.natives != null).forEach(lib -> dependencyHandler.add(Constants.CONFIG_NATIVES, lib.getArtifactName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Force add LaunchWrapper
|
|
||||||
dependencyHandler.add(Constants.CONFIG_MC_DEPENDENCIES, "net.minecraft:launchwrapper:1.12");
|
|
||||||
|
|
||||||
Version.AssetIndex assetIndex = version.assetIndex;
|
Version.AssetIndex assetIndex = version.assetIndex;
|
||||||
|
|
||||||
File assets = new File(extension.getUserCache(), "assets-" + extension.version);
|
File assets = new File(extension.getUserCache(), "assets-" + extension.version);
|
||||||
|
|
|
@ -77,7 +77,7 @@ public class RunClientTask extends JavaExec {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getMain() {
|
public String getMain() {
|
||||||
return "net.minecraft.launchwrapper.Launch";
|
return "cpw.mods.modlauncher.Launcher";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue