Skip to content

Commit a75327a

Browse files
authored
modrinth: re-download Modrinth projects based on modified time rather than filename existence (#454)
1 parent 59646b3 commit a75327a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/itzg/helpers/modrinth/ModrinthCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private Path download(ProjectType projectType, VersionFile versionFile) {
235235
return fetch(URI.create(versionFile.getUrl()))
236236
.userAgentCommand("modrinth")
237237
.toFile(outPath)
238-
.skipExisting(true)
238+
.skipUpToDate(true)
239239
.execute();
240240
} catch (IOException e) {
241241
throw new RuntimeException("Downloading mod file", e);

0 commit comments

Comments
 (0)