diff --git a/proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java b/proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java index 8d60d8224..f88d2697e 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/util/VelocityChannelRegistrar.java @@ -46,7 +46,9 @@ public class VelocityChannelRegistrar implements ChannelRegistrar { public Collection getModernChannelIds() { Collection ids = new ArrayList<>(); for (ChannelIdentifier value : identifierMap.values()) { - ids.add(value.getId()); + if (value instanceof MinecraftChannelIdentifier) { + ids.add(value.getId()); + } } return ids; }