Skip to content

Commit

Permalink
4.0.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytv committed Jun 7, 2021
1 parent e41d643 commit 54a979c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void registerMap() {

// 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);
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"


Expand Down

0 comments on commit 54a979c

Please sign in to comment.