From bce716caa449462ff63b7fd21aa0798eba0553f8 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Sun, 5 Nov 2023 11:50:33 +1000 Subject: [PATCH] Don't expect enables features to always be sent The client defaults to the vanilla registry, so it doesn't need to be sent --- .../rewriter/EntityPacketRewriter1_20_2.java | 10 ++++++---- .../storage/ConfigurationPacketStorage.java | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/rewriter/EntityPacketRewriter1_20_2.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/rewriter/EntityPacketRewriter1_20_2.java index 68662678..6b5b0a3f 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/rewriter/EntityPacketRewriter1_20_2.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20to1_20_2/rewriter/EntityPacketRewriter1_20_2.java @@ -21,8 +21,8 @@ import com.viaversion.viabackwards.api.rewriters.EntityRewriter; import com.viaversion.viabackwards.protocol.protocol1_20to1_20_2.Protocol1_20To1_20_2; import com.viaversion.viabackwards.protocol.protocol1_20to1_20_2.storage.ConfigurationPacketStorage; import com.viaversion.viaversion.api.minecraft.GlobalPosition; -import com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_19_4; import com.viaversion.viaversion.api.minecraft.entities.EntityType; +import com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_19_4; import com.viaversion.viaversion.api.protocol.packet.PacketWrapper; import com.viaversion.viaversion.api.protocol.remapper.PacketHandlers; import com.viaversion.viaversion.api.type.Type; @@ -143,9 +143,11 @@ public final class EntityPacketRewriter1_20_2 extends EntityRewriter