Skip to content

Commit bc24af6

Browse files
Update src/main/java/me/itzg/helpers/modrinth/ModrinthCommand.java
Co-authored-by: Geoff Bourne <[email protected]>
1 parent c3c778c commit bc24af6

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
@@ -232,7 +232,7 @@ private Version pickVersion(List<Version> versions, VersionType versionType) {
232232
private Path download(Loader loader, VersionFile versionFile) {
233233
final Path outPath;
234234
try {
235-
final Loader effectiveLoader = loader != null ? loader : loader;
235+
final Loader effectiveLoader = loader != null ? loader : this.loader;
236236
final String outputType = effectiveLoader.getType();
237237

238238
if (outputType == null) {

0 commit comments

Comments
 (0)