Fix datagen task output

This commit is contained in:
modmuss50
2024-11-30 12:22:31 +00:00
parent 0769601cfe
commit 1d0946f55b

View File

@@ -208,7 +208,7 @@ public abstract class FabricApiExtension {
// Add the output directory as an output allowing the task to be skipped.
getProject().getTasks().named("runDatagen", task -> {
task.getOutputs().file(outputDirectory);
task.getOutputs().dir(outputDirectory);
});
}
}