From 33864317495c82ae27cdff8d8b1c28a10c86cfa3 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 21 Mar 2022 10:40:52 +0100 Subject: [PATCH] Comment out entity effect transformer --- .../protocol1_19to1_18_2/packets/EntityPackets.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java index dbe7b15fa..9390ae98f 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java @@ -43,17 +43,17 @@ public final class EntityPackets extends EntityRewriter { registerMetadataRewriter(ClientboundPackets1_18.ENTITY_METADATA, Types1_18.METADATA_LIST, Types1_19.METADATA_LIST); registerRemoveEntities(ClientboundPackets1_18.REMOVE_ENTITIES); - protocol.registerClientbound(ClientboundPackets1_18.ENTITY_EFFECT, new PacketRemapper() { + /*protocol.registerClientbound(ClientboundPackets1_18.ENTITY_EFFECT, new PacketRemapper() { @Override public void registerMap() { map(Type.VAR_INT); // Entity id - map(Type.BYTE); // Effect id + map(Type.VAR_INT); // Effect id map(Type.BYTE); // Amplifier map(Type.VAR_INT); // Duration map(Type.BYTE); // Flags create(Type.BOOLEAN, false); // No factor data } - }); + });*/ // TODO experimental snapshot protocol.registerClientbound(ClientboundPackets1_18.JOIN_GAME, new PacketRemapper() { @Override