Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 80acc1c

Browse files
committed
Update version
1 parent 55c97dd commit 80acc1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.nincraft</groupId>
55
<artifactId>ModPackDownloader</artifactId>
6-
<version>0.2.1</version>
6+
<version>0.2.2</version>
77
<name>Mod Pack Downloader</name>
88
<packaging>jar</packaging>
99
<properties>

src/main/java/com/nincraft/modpackdownloader/util/DownloadHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static DownloadStatus downloadFile(final DownloadableFile downloadableFil
4040
}
4141
val decodedFileName = URLHelper.decodeSpaces(downloadableFile.getFileName());
4242

43-
if (FileSystemHelper.getDownloadedFile(decodedFileName, downloadableFile.getFolder()).exists() && !Arguments.forceDownload) {
43+
if (FileSystemHelper.getDownloadedFile(decodedFileName, downloadableFile.getFolder()).exists() && !Reference.forceDownload) {
4444
log.info(String.format("Found %s already downloaded, skipping", decodedFileName));
4545
return DownloadStatus.SKIPPED;
4646
}

0 commit comments

Comments
 (0)