diff --git a/build.gradle b/build.gradle index 1ccb797..5d2855e 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id "maven-publish" id "idea" id "net.raphimc.class-token-replacer" version "1.1.3" - id "xyz.wagyourtail.jvmdowngrader" version "1.0.0" + id "xyz.wagyourtail.jvmdowngrader" version "1.0.1" } base { @@ -97,11 +97,11 @@ dependencies { include("org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR3-SNAPSHOT") { exclude group: "io.netty" } - include "gs.mclo:api:3.0.1" + include "gs.mclo:api:4.0.3" include "net.lenni0451:optconfig:1.0.0-SNAPSHOT" - includeJ8(compileOnly("xyz.wagyourtail.jvmdowngrader:jvmdowngrader:1.0.0")) - includeJ8 "xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:1.0.0:downgraded-8" + includeJ8(compileOnly("xyz.wagyourtail.jvmdowngrader:jvmdowngrader:1.0.1")) + includeJ8 "xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:1.0.1:downgraded-8" } sourceSets { diff --git a/src/main/java/net/raphimc/viaproxy/ui/impl/AdvancedTab.java b/src/main/java/net/raphimc/viaproxy/ui/impl/AdvancedTab.java index 02b9b69..13ff3a7 100644 --- a/src/main/java/net/raphimc/viaproxy/ui/impl/AdvancedTab.java +++ b/src/main/java/net/raphimc/viaproxy/ui/impl/AdvancedTab.java @@ -180,7 +180,7 @@ public class AdvancedTab extends UITab { try { this.uploadLogsButton.setEnabled(false); final MclogsClient mclogsClient = new MclogsClient("ViaProxy", ViaProxy.VERSION); - final UploadLogResponse apiResponse = mclogsClient.uploadLog(logFile.toPath()); + final UploadLogResponse apiResponse = mclogsClient.uploadLog(logFile.toPath()).get(); if (apiResponse.isSuccess()) { ViaProxyWindow.openURL(apiResponse.getUrl()); final StringSelection selection = new StringSelection(apiResponse.getUrl());