Skip to content

Commit 54a979c

Browse files
committed
4.0.0 Release
1 parent e41d643 commit 54a979c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
allprojects {
77
group = "com.viaversion"
8-
version = "4.0.0-1.17-rc1-SNAPSHOT"
8+
version = "4.0.0"
99
description = "Allow older clients to join newer server versions."
1010
}
1111

common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_15_2to1_16/packets/EntityPackets1_16.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void registerMap() {
113113

114114
// Send a dummy respawn with a different dimension if the world name was different and the same dimension was used
115115
if (clientWorld.getEnvironment() != null && dimension == clientWorld.getEnvironment().getId()
116-
&& (Via.getPlatform().isProxy() || !nextWorldName.equals(worldNameTracker.getWorldName()))) {
116+
&& (wrapper.user().isClientSide() || Via.getPlatform().isProxy() || !nextWorldName.equals(worldNameTracker.getWorldName()))) {
117117
PacketWrapper packet = wrapper.create(ClientboundPackets1_15.RESPAWN);
118118
packet.write(Type.INT, dimension == 0 ? -1 : 0);
119119
packet.write(Type.LONG, 0L);

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata.format.version = "1.0"
33
[versions]
44

55
# ViaVersion
6-
viaver = "4.0.0-1.17-rc1-SNAPSHOT"
6+
viaver = "4.0.0-1.17-rc2-SNAPSHOT"
77

88
# Common provided
99
netty = "4.0.20.Final"
@@ -16,7 +16,7 @@ checkerQual = "3.14.0"
1616
paper = "1.16.5-R0.1-SNAPSHOT"
1717
bungee = "1.16-R0.5-SNAPSHOT"
1818
sponge = "5.0.0"
19-
velocity = "1.1.0-SNAPSHOT"
19+
velocity = "3.0.0-SNAPSHOT"
2020
fabricLoader = "0.4.8+build.154"
2121

2222

0 commit comments

Comments
 (0)