diff --git a/build.gradle b/build.gradle index 7bd3ae19..7b5a1581 100644 --- a/build.gradle +++ b/build.gradle @@ -143,3 +143,5 @@ publishing { } } } + +group = 'com.github.CCBlueX' \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index b0f5b013..d1f10947 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/net/ccbluex/liquidbounce/mcef/MCEFResourceManager.java b/src/main/java/net/ccbluex/liquidbounce/mcef/MCEFResourceManager.java index 50dc8b9e..5e3a4b8a 100644 --- a/src/main/java/net/ccbluex/liquidbounce/mcef/MCEFResourceManager.java +++ b/src/main/java/net/ccbluex/liquidbounce/mcef/MCEFResourceManager.java @@ -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) { @@ -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); } }