mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
fix #199: don't send SetCompression for 1.7
This commit is contained in:
parent
007ff302b9
commit
a2229d2699
@ -84,7 +84,7 @@ dependencies {
|
||||
implementation("org.jline:jline-terminal-jansi:3.21.0")
|
||||
implementation("org.slf4j:slf4j-api:$slf4jVer")
|
||||
|
||||
val ktorVersion = "2.0.0"
|
||||
val ktorVersion = "2.0.1"
|
||||
implementation("io.ktor:ktor-network-tls-certificates-jvm:$ktorVersion")
|
||||
implementation("io.ktor:ktor-server-websockets:$ktorVersion")
|
||||
implementation("io.ktor:ktor-server-netty-jvm:$ktorVersion")
|
||||
|
@ -100,6 +100,7 @@ class LoginState : ConnectionState {
|
||||
fun reauthMessage(handler: MinecraftHandler, backName: String, backHash: String): CompletableFuture<Boolean> {
|
||||
if (!handler.data.frontEncrypted
|
||||
|| !frontName.equals(backName, ignoreCase = true)
|
||||
|| handler.data.frontVer!! < ProtocolVersion.v1_8.version
|
||||
) {
|
||||
callbackPluginReauth.complete(false)
|
||||
return callbackPluginReauth
|
||||
|
Loading…
Reference in New Issue
Block a user