mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Updated mclo.gs library
This commit is contained in:
parent
c08c8c3e2d
commit
c006439741
2 changed files with 5 additions and 5 deletions
|
@ -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 {
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue