Skip to content

Commit

Permalink
Download using cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Feb 3, 2025
1 parent e72d3f2 commit b59c522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/neoforged/waifu/ModIndexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public static <T extends IndexDatabase.DatabaseMod<T>> void merge(IndexDatabase<
}

if (otherFile != null) {
try (var otherIn = otherFile.download();
try (var otherIn = Files.newInputStream(download(otherFile));
var thisIn = file.file().openStream()) {
// If we find that this mod matches the other's mod jar (when we strip dates in zip entries or in the manifest) we're confident to link them
if (Arrays.equals(
Expand Down

0 comments on commit b59c522

Please sign in to comment.