From f361bd66eadbeb97d6ee0fb78b1bc0c554756965 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 28 Feb 2022 16:01:41 +0100 Subject: [PATCH] 4.2.1 Release Fix 1.18.2 client respawn on legacy servers --- .../protocols/protocol1_16_2to1_16_1/packets/EntityPackets.java | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_16_2to1_16_1/packets/EntityPackets.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_16_2to1_16_1/packets/EntityPackets.java index 0cf718762..a0ae8d70d 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_16_2to1_16_1/packets/EntityPackets.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_16_2to1_16_1/packets/EntityPackets.java @@ -86,6 +86,6 @@ public class EntityPackets { Via.getPlatform().getLogger().severe("Could not get dimension data of " + dimensionType); throw new NullPointerException("Dimension data for " + dimensionType + " is null!"); } - return tag; + return tag.clone(); } } diff --git a/gradle.properties b/gradle.properties index 566530450..7d16441e0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Project properties - we put these here so they can be modified without causing a recompile of the build scripts -projectVersion=4.2.0 +projectVersion=4.2.1 # Gradle properties org.gradle.daemon=true