Fix runClient/Server tasks not always including the mod

dev/0.11
modmuss50 2019-07-09 22:01:12 +01:00
parent b315d9a553
commit 927c3f22cc
2 changed files with 1 additions and 2 deletions

View File

@ -316,6 +316,7 @@ public class AbstractPlugin implements Plugin<Project> {
remapJarTask.getInput().set(jarTask.getArchivePath());
}
extension.addUnmappedMod(jarTask.getArchivePath().toPath());
remapJarTask.getAddNestedDependencies().set(true);
remapJarTask.doLast(task -> project1.getArtifacts().add("archives", remapJarTask.getArchivePath()));

View File

@ -124,8 +124,6 @@ public class RemapJarTask extends Jar {
}
}
extension.addUnmappedMod(input);
/*try {
if (modJar.exists()) {
Files.move(modJar, modJarUnmappedCopy);