geforkt von Mirrors/Velocity
1661cece2d
* Delay switch to new server until after JoinGame is sent. Unfortunately, in some cases (especially vanilla Minecraft) some login disconnects are sent after ServerLoginSuccess but before JoinGame. We've been using ServerLoginSuccess but it has caused too many problems. Now Velocity will switch to a stripped-down version of the play session handler until JoinGame is received. This handler does very little by itself: it simply forwards plugin messages (for Forge) and waits for the JoinGame packet from the server. This is an initial version: only vanilla Minecraft 1.12.2 was tested. However this is the way Waterfall without entity rewriting does server switches (which, in turn, is inherited from BungeeCord). * Move to Gradle 5 and Error Prone.
17 Zeilen
516 B
Groovy
17 Zeilen
516 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'checkstyle'
|
|
id "net.ltgt.errorprone" version "0.8"
|
|
}
|
|
|
|
apply from: '../gradle/checkstyle.gradle'
|
|
apply from: '../gradle/errorprone.gradle'
|
|
|
|
dependencies {
|
|
compile "com.google.guava:guava:${guavaVersion}"
|
|
compile "io.netty:netty-handler:${nettyVersion}"
|
|
compile "org.checkerframework:checker-qual:${checkerFrameworkVersion}"
|
|
|
|
testCompile "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
|
|
testCompile "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
|
} |