diff --git a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/GlobalReceiverRegistry.java b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/GlobalReceiverRegistry.java index a93fca984..c2518cc03 100644 --- a/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/GlobalReceiverRegistry.java +++ b/fabric-networking-api-v1/src/main/java/net/fabricmc/fabric/impl/networking/GlobalReceiverRegistry.java @@ -68,7 +68,7 @@ public final class GlobalReceiverRegistry { try { final boolean replaced = this.handlers.putIfAbsent(channelName, handler) == null; - if (!replaced) { + if (replaced) { this.handleRegistration(channelName, handler); }