From 04d75264e08b51e785f4a8e91728c352229fff73 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 15 Jun 2023 10:10:32 +0200 Subject: [PATCH] Add required 1.18(.1) tag Fixes #558 --- .../protocol/protocol1_19_4to1_20/Protocol1_19_4To1_20.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_4to1_20/Protocol1_19_4To1_20.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_4to1_20/Protocol1_19_4To1_20.java index d9f19a68..8311ea8d 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_4to1_20/Protocol1_19_4To1_20.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_19_4to1_20/Protocol1_19_4To1_20.java @@ -24,6 +24,7 @@ import com.viaversion.viabackwards.protocol.protocol1_19_4to1_20.data.BackwardsM import com.viaversion.viabackwards.protocol.protocol1_19_4to1_20.packets.BlockItemPackets1_20; import com.viaversion.viabackwards.protocol.protocol1_19_4to1_20.packets.EntityPackets1_20; import com.viaversion.viaversion.api.connection.UserConnection; +import com.viaversion.viaversion.api.minecraft.RegistryType; import com.viaversion.viaversion.api.minecraft.entities.Entity1_19_4Types; import com.viaversion.viaversion.api.type.Type; import com.viaversion.viaversion.data.entity.EntityTrackerBase; @@ -49,6 +50,7 @@ public final class Protocol1_19_4To1_20 extends BackwardsProtocol tagRewriter = new TagRewriter<>(this); + tagRewriter.addEmptyTag(RegistryType.BLOCK, "minecraft:replaceable_plants"); tagRewriter.registerGeneric(ClientboundPackets1_19_4.TAGS); final SoundRewriter soundRewriter = new SoundRewriter<>(this);