mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-02-02 23:21:34 +01:00
Updated mclo.gs library
This commit is contained in:
parent
c08c8c3e2d
commit
c006439741
@ -4,7 +4,7 @@ plugins {
|
|||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "idea"
|
id "idea"
|
||||||
id "net.raphimc.class-token-replacer" version "1.1.3"
|
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 {
|
base {
|
||||||
@ -97,11 +97,11 @@ dependencies {
|
|||||||
include("org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR3-SNAPSHOT") {
|
include("org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR3-SNAPSHOT") {
|
||||||
exclude group: "io.netty"
|
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"
|
include "net.lenni0451:optconfig:1.0.0-SNAPSHOT"
|
||||||
|
|
||||||
includeJ8(compileOnly("xyz.wagyourtail.jvmdowngrader:jvmdowngrader:1.0.0"))
|
includeJ8(compileOnly("xyz.wagyourtail.jvmdowngrader:jvmdowngrader:1.0.1"))
|
||||||
includeJ8 "xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:1.0.0:downgraded-8"
|
includeJ8 "xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:1.0.1:downgraded-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
@ -180,7 +180,7 @@ public class AdvancedTab extends UITab {
|
|||||||
try {
|
try {
|
||||||
this.uploadLogsButton.setEnabled(false);
|
this.uploadLogsButton.setEnabled(false);
|
||||||
final MclogsClient mclogsClient = new MclogsClient("ViaProxy", ViaProxy.VERSION);
|
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()) {
|
if (apiResponse.isSuccess()) {
|
||||||
ViaProxyWindow.openURL(apiResponse.getUrl());
|
ViaProxyWindow.openURL(apiResponse.getUrl());
|
||||||
final StringSelection selection = new StringSelection(apiResponse.getUrl());
|
final StringSelection selection = new StringSelection(apiResponse.getUrl());
|
||||||
|
Loading…
Reference in New Issue
Block a user