From a93e0636fe8d0c38b419232c6591ff5f85624cd0 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 16 Jun 2024 18:11:30 +0200 Subject: [PATCH] Release 3.0.0 --- README.md | 2 +- build.gradle | 2 +- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f66f0a..b2037cc 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ ViaLegacy needs to have custom netty handlers in the pipeline which handle <= 1. To implement the changes you should add something similar to the following lines to your netty pipeline (After the ViaVersion handlers are added): ```java -if (serverTargetVersion.isOlderThanOrEqualTo(VersionEnum.r1_6_4)) { // Only add those handlers if the server version is <= 1.6.4 +if (serverTargetVersion.olderThanOrEqualTo(LegacyProtocolVersion.r1_6_4)) { // Only add those handlers if the server version is <= 1.6.4 user.getProtocolInfo().getPipeline().add(PreNettyBaseProtocol.INSTANCE); // Allow to intercept the handshake packet // You can either add a codec (if your pipeline is built for that) diff --git a/build.gradle b/build.gradle index 36bede4..6e9c6b5 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ repositories { } dependencies { - compileOnly "com.viaversion:viaversion-common:5.0.0-SNAPSHOT" + compileOnly "com.viaversion:viaversion-common:5.0.0" compileOnly "org.yaml:snakeyaml:2.2" compileOnly "com.google.guava:guava:33.2.1-jre" compileOnly "io.netty:netty-handler:4.1.111.Final" diff --git a/gradle.properties b/gradle.properties index edeaf9a..ae7a5bb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,4 +4,4 @@ org.gradle.configureondemand=true maven_group=net.raphimc maven_name=ViaLegacy -maven_version=3.0.0-SNAPSHOT +maven_version=3.0.0