Updated mclo.gs library
Some checks are pending
build-docker / build (push) Waiting to run
build / build (push) Waiting to run

This commit is contained in:
RaphiMC 2024-08-07 18:09:43 +02:00
parent c08c8c3e2d
commit c006439741
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94
2 changed files with 5 additions and 5 deletions

View file

@ -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 {

View file

@ -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());