From 1ccf625b783cf8ae910ff56ba6947198bd9e8dec Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Tue, 14 Mar 2023 18:37:41 +0100 Subject: [PATCH] Added 1.19.4 support --- README.md | 4 ++-- build.gradle | 8 ++++---- .../viaproxy/injection/mixins/MixinProtocolVersion.java | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9a75e7e..d109846 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ For a full user guide go to the [Usage for Players](#usage-for-players--gui-) se - Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension)) - Alpha (a1.0.15 - a1.2.6) - Beta (b1.0 - b1.8.1) -- Release (1.0.0 - 1.19.3) +- Release (1.0.0 - 1.19.4) - April Fools (3D Shareware, 20w14infinite) - Combat Snapshots (Combat Test 8c) ## Supported Client versions -- Release (1.7.2 - 1.19.3) +- Release (1.7.2 - 1.19.4) ViaProxy supports joining to any of the listed server version from any of the listed client versions. diff --git a/build.gradle b/build.gradle index 1c7421d..74b56a0 100644 --- a/build.gradle +++ b/build.gradle @@ -59,13 +59,13 @@ repositories { dependencies { compileOnly sourceSets.java17compat.output - include "com.viaversion:viaversion:4.6.0-1.19.4-rc3-SNAPSHOT" - include("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre4-SNAPSHOT") { + include "com.viaversion:viaversion:4.6.0" + include("com.viaversion:viabackwards-common:4.6.0") { exclude group: "com.viaversion", module: "viaversion" exclude group: "io.netty", module: "netty-all" exclude group: "com.google.guava", module: "guava" } - include "com.viaversion:viarewind-core:2.0.3-SNAPSHOT" + include "com.viaversion:viarewind-core:2.0.3" include "net.raphimc:ViaLegacy:2.2.8" include "net.raphimc:ViaAprilFools:2.0.6" include("net.raphimc:ViaProtocolHack:2.2.0") { @@ -86,7 +86,7 @@ dependencies { include "net.lenni0451.classtransform:additionalclassprovider:1.8.4" include "net.lenni0451:Reflect:1.1.0" include "net.lenni0451:LambdaEvents:2.0.3" - include "net.raphimc.netminecraft:all:2.3.1" + include "net.raphimc.netminecraft:all:2.3.2" include("net.raphimc:MinecraftAuth:2.0.1") { exclude group: "com.google.code.gson", module: "gson" exclude group: "org.slf4j", module: "slf4j-api" diff --git a/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java b/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java index 4b72b3f..6643fde 100644 --- a/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java +++ b/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java @@ -50,7 +50,6 @@ public abstract class MixinProtocolVersion { remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null)); remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null)); remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null)); - remaps.put("1.19.4", new Pair<>("1.19.4-rc3", null)); } @Redirect(method = "", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;"))