From 54a979c641d961c3bed5975fa4ea6107d8bd56e4 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Mon, 7 Jun 2021 17:09:09 +0200 Subject: [PATCH] 4.0.0 Release --- build.gradle.kts | 2 +- .../protocol1_15_2to1_16/packets/EntityPackets1_16.java | 2 +- gradle/libs.versions.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index b2dd6f1d..850669c4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { allprojects { group = "com.viaversion" - version = "4.0.0-1.17-rc1-SNAPSHOT" + version = "4.0.0" description = "Allow older clients to join newer server versions." } diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_15_2to1_16/packets/EntityPackets1_16.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_15_2to1_16/packets/EntityPackets1_16.java index a853f196..0869bc76 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_15_2to1_16/packets/EntityPackets1_16.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_15_2to1_16/packets/EntityPackets1_16.java @@ -113,7 +113,7 @@ public class EntityPackets1_16 extends EntityRewriter { // Send a dummy respawn with a different dimension if the world name was different and the same dimension was used if (clientWorld.getEnvironment() != null && dimension == clientWorld.getEnvironment().getId() - && (Via.getPlatform().isProxy() || !nextWorldName.equals(worldNameTracker.getWorldName()))) { + && (wrapper.user().isClientSide() || Via.getPlatform().isProxy() || !nextWorldName.equals(worldNameTracker.getWorldName()))) { PacketWrapper packet = wrapper.create(ClientboundPackets1_15.RESPAWN); packet.write(Type.INT, dimension == 0 ? -1 : 0); packet.write(Type.LONG, 0L); diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 12978d81..c8114ab3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ metadata.format.version = "1.0" [versions] # ViaVersion -viaver = "4.0.0-1.17-rc1-SNAPSHOT" +viaver = "4.0.0-1.17-rc2-SNAPSHOT" # Common provided netty = "4.0.20.Final" @@ -16,7 +16,7 @@ checkerQual = "3.14.0" paper = "1.16.5-R0.1-SNAPSHOT" bungee = "1.16-R0.5-SNAPSHOT" sponge = "5.0.0" -velocity = "1.1.0-SNAPSHOT" +velocity = "3.0.0-SNAPSHOT" fabricLoader = "0.4.8+build.154"