mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-01 21:17:46 -05:00
Fix runClient/Server tasks not always including the mod
This commit is contained in:
@@ -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()));
|
||||
|
||||
@@ -124,8 +124,6 @@ public class RemapJarTask extends Jar {
|
||||
}
|
||||
}
|
||||
|
||||
extension.addUnmappedMod(input);
|
||||
|
||||
/*try {
|
||||
if (modJar.exists()) {
|
||||
Files.move(modJar, modJarUnmappedCopy);
|
||||
|
||||
Reference in New Issue
Block a user