4.0.0 Release

This commit is contained in:
KennyTV 2021-06-07 17:09:09 +02:00
parent e41d643488
commit 54a979c641
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 4 additions and 4 deletions

View File

@ -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."
}

View File

@ -113,7 +113,7 @@ public class EntityPackets1_16 extends EntityRewriter<Protocol1_15_2To1_16> {
// 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);

View File

@ -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"