From 4797914556934df2654c8090c244c106ec2e4fc4 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Wed, 1 Feb 2023 16:30:59 +0100 Subject: [PATCH] 23w05a --- build.gradle.kts | 2 +- .../protocol1_19_3to1_19_4/data/EntityPackets1_19_4.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 854177d9..e178dd80 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { allprojects { group = "com.viaversion" - version = "4.6.0-23w03a-SNAPSHOT" + version = "4.6.0-23w05a-SNAPSHOT" description = "Allow older clients to join newer server versions." } diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_3to1_19_4/data/EntityPackets1_19_4.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_3to1_19_4/data/EntityPackets1_19_4.java index 1f4c712e..64e96f51 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_3to1_19_4/data/EntityPackets1_19_4.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_3to1_19_4/data/EntityPackets1_19_4.java @@ -20,8 +20,10 @@ package com.viaversion.viabackwards.protocol.protocol1_19_3to1_19_4.data; import com.viaversion.viabackwards.protocol.protocol1_19_3to1_19_4.Protocol1_19_3To1_19_4; import com.viaversion.viaversion.api.minecraft.entities.Entity1_19_3Types; import com.viaversion.viaversion.api.minecraft.entities.EntityType; +import com.viaversion.viaversion.api.minecraft.nbt.BinaryTagIO; import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper; import com.viaversion.viaversion.api.type.Type; +import com.viaversion.viaversion.libs.opennbt.NBTIO; import com.viaversion.viaversion.libs.opennbt.tag.builtin.ByteTag; import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag; import com.viaversion.viaversion.libs.opennbt.tag.builtin.ListTag; @@ -55,6 +57,9 @@ public final class EntityPackets1_19_4 extends EntityRewriter { final CompoundTag registry = wrapper.get(Type.NBT, 0); + registry.remove("minecraft:trim_pattern"); + registry.remove("minecraft:trim_material"); + final CompoundTag biomeRegistry = registry.get("minecraft:worldgen/biome"); final ListTag biomes = biomeRegistry.get("value"); for (final Tag biomeTag : biomes) {