mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-21 11:45:16 +01:00
Fixed java 9 or higher crash
This commit is contained in:
parent
73d2955f72
commit
96d7eb824e
16
build.gradle
16
build.gradle
@ -42,7 +42,7 @@ dependencies {
|
|||||||
exclude group: "com.google.guava", module: "guava"
|
exclude group: "com.google.guava", module: "guava"
|
||||||
}
|
}
|
||||||
include "com.viaversion:viarewind-core:2.0.3-SNAPSHOT"
|
include "com.viaversion:viarewind-core:2.0.3-SNAPSHOT"
|
||||||
include "net.raphimc:ViaLegacy:2.0.3"
|
include "net.raphimc:ViaLegacy:2.0.4"
|
||||||
include("net.raphimc:ViaProtocolHack:2.0.1") {
|
include("net.raphimc:ViaProtocolHack:2.0.1") {
|
||||||
exclude group: "org.slf4j", module: "slf4j-api"
|
exclude group: "org.slf4j", module: "slf4j-api"
|
||||||
}
|
}
|
||||||
@ -52,13 +52,19 @@ dependencies {
|
|||||||
include "net.sf.jopt-simple:jopt-simple:5.0.4"
|
include "net.sf.jopt-simple:jopt-simple:5.0.4"
|
||||||
include "org.apache.logging.log4j:log4j-core:2.19.0"
|
include "org.apache.logging.log4j:log4j-core:2.19.0"
|
||||||
include "org.apache.logging.log4j:log4j-slf4j-impl:2.19.0"
|
include "org.apache.logging.log4j:log4j-slf4j-impl:2.19.0"
|
||||||
include "com.github.GeyserMC:MCAuthLib:1.4"
|
include("com.github.GeyserMC:MCAuthLib:1.4") {
|
||||||
include "net.lenni0451.classtransform:mixinstranslator:1.7.5"
|
exclude group: "com.google.code.gson", module: "gson"
|
||||||
include "net.lenni0451.classtransform:mixinsdummy:1.7.5"
|
}
|
||||||
include "net.lenni0451.classtransform:additionalclassprovider:1.7.5"
|
include "net.lenni0451.classtransform:mixinstranslator:1.7.6"
|
||||||
|
include "net.lenni0451.classtransform:mixinsdummy:1.7.6"
|
||||||
|
include "net.lenni0451.classtransform:additionalclassprovider:1.7.6"
|
||||||
include "net.lenni0451:Reflect:1.0.2"
|
include "net.lenni0451:Reflect:1.0.2"
|
||||||
include "net.lenni0451:LambdaEvents:2.0.3"
|
include "net.lenni0451:LambdaEvents:2.0.3"
|
||||||
include "net.raphimc.netminecraft:all:2.2.2"
|
include "net.raphimc.netminecraft:all:2.2.2"
|
||||||
|
include("net.raphimc:MinecraftAuth:2.0.1") {
|
||||||
|
exclude group: "com.google.code.gson", module: "gson"
|
||||||
|
exclude group: "org.slf4j", module: "slf4j-api"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
blossom {
|
blossom {
|
||||||
|
@ -6,4 +6,4 @@ org.gradle.configureondemand=true
|
|||||||
# Project properties
|
# Project properties
|
||||||
maven_name=ViaProxy
|
maven_name=ViaProxy
|
||||||
maven_group=net.raphimc
|
maven_group=net.raphimc
|
||||||
maven_version=3.0.0
|
maven_version=3.0.1
|
||||||
|
@ -39,7 +39,7 @@ public class ViaProxyUI extends JFrame {
|
|||||||
final StringBuilder builder = new StringBuilder("An error occurred:\n");
|
final StringBuilder builder = new StringBuilder("An error occurred:\n");
|
||||||
builder.append("[").append(e.getClass().getSimpleName()).append("] ").append(e.getMessage()).append("\n");
|
builder.append("[").append(e.getClass().getSimpleName()).append("] ").append(e.getMessage()).append("\n");
|
||||||
for (StackTraceElement element : e.getStackTrace()) {
|
for (StackTraceElement element : e.getStackTrace()) {
|
||||||
builder.append("\tat ").append(element.toString()).append("\n");
|
builder.append(element.toString()).append("\n");
|
||||||
}
|
}
|
||||||
this.showError(builder.toString());
|
this.showError(builder.toString());
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user