diff --git a/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java b/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java index be9e6435..f1ea5482 100644 --- a/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java +++ b/src/test/java/com/comphenix/protocol/events/PacketContainerTest.java @@ -901,7 +901,7 @@ public class PacketContainerTest { new WrappedDataValue(0, Registry.get(CatVariant.class), catVariantRegistry.e(CatVariant.e)), new WrappedDataValue(0, Registry.get(FrogVariant.class), FrogVariant.a) )); - } else if (type == PacketType.Play.Server.CHAT) { + } else if (type == PacketType.Play.Server.CHAT || type == PacketType.Login.Server.DISCONNECT) { constructed.getChatComponents().write(0, ComponentConverter.fromBaseComponent(TEST_COMPONENT)); } else if (type == PacketType.Play.Server.REMOVE_ENTITY_EFFECT || type == PacketType.Play.Server.ENTITY_EFFECT) { constructed.getEffectTypes().write(0, PotionEffectType.GLOWING);