Skip to content

Commit

Permalink
Merge branch '1.21.1' into 1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Nov 24, 2024
2 parents 89f13cb + ff24d88 commit ad51c76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,5 @@ publishing {
}
}
}

group = 'com.github.CCBlueX'
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ yarn_mappings=1.21.3+build.2
loader_version=0.16.5

archives_base_name=mcef
mod_version=1.2.0-1.21.1
mod_version=1.2.1-1.21.1
maven_group=CCBlueX

loom_version=1.8-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private boolean compareChecksum(File checksumFile, File archiveFile) {
}
}

private void downloadFile(String urlString, File outputFile, MCEFProgressTracker percentCompleteConsumer) {
private void downloadFile(String urlString, File outputFile, MCEFProgressTracker percentCompleteConsumer) throws IOException {
try {
MCEF.INSTANCE.getLogger().debug("Downloading '{}' to '{}'", urlString, outputFile.getCanonicalPath());
} catch (IOException e) {
Expand Down Expand Up @@ -253,12 +253,12 @@ private void downloadFile(String urlString, File outputFile, MCEFProgressTracker
percentCompleteConsumer.setProgress(percentComplete);
}
} catch (IOException e) {
throw new RuntimeException("Error writing to file from input stream", e);
throw new IOException("Error writing to file from input stream", e);
}
} catch (MalformedURLException e) {
throw new RuntimeException("Invalid URL format for " + urlString, e);
} catch (IOException e) {
throw new RuntimeException("Error connecting to " + urlString, e);
throw new IOException("Error connecting to " + urlString, e);
}
}

Expand Down

0 comments on commit ad51c76

Please sign in to comment.