diff --git a/modules/API/src/main/java/com/comphenix/protocol/PacketType.java b/modules/API/src/main/java/com/comphenix/protocol/PacketType.java index 772c8dde..43841a6f 100644 --- a/modules/API/src/main/java/com/comphenix/protocol/PacketType.java +++ b/modules/API/src/main/java/com/comphenix/protocol/PacketType.java @@ -189,19 +189,19 @@ public class PacketType implements Serializable, Cloneable, Comparable { private static final EquivalentConverter DELEGATE; static { - Class packetClass = PacketType.Play.Server.UPDATE_SIGN.getPacketClass(); - if (packetClass.getName().contains("Sign")) { + if (!PacketType.Play.Server.UPDATE_SIGN.isDeprecated()) { DELEGATE = new LegacyComponentConverter(); } else { DELEGATE = new NBTComponentConverter();