Skip to content

Commit

Permalink
Fix instant crash
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Feb 11, 2024
1 parent f6d8c94 commit e1363ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
multi_filament_version=0.2.0
multi_filament_version=0.2.1

asm_version=9.5
unpick_version=2.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ public MultiFilamentExtension() {

protected void createTasks() {
DownloadTask downloadIntermediary = getProject().getTasks().create("downloadIntermediary", DownloadTask.class, downloadTask -> {
downloadTask.setGroup(getBuildMappingGroup().get());
// downloadTask.setGroup(getBuildMappingGroup().get());
downloadTask.getUrl().set(
getIntermediaryProvider()
.getIntermediaryURL(getMinecraftVersion().get())
getMinecraftVersion().map(v -> getIntermediaryProvider().getIntermediaryURL(v))
);
downloadTask.getOutput().set(getMinecraftCacheDirectory().flatMap(
dir -> getMinecraftVersion().map(v -> dir.file(v + "-intermediary.tiny")))
);
downloadTask.getOutput().set(getMinecraftCacheDirectory().get().file(
getMinecraftVersion().get() + "-intermediary.tiny"
));
});

VersionifyFilterMappingsTask versionifyMappingsFilter = getProject().getTasks().create("versionifyMappingsFilter", VersionifyFilterMappingsTask.class, task -> {
Expand Down

0 comments on commit e1363ea

Please sign in to comment.