diff --git a/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityEventManager.java b/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityEventManager.java index 24c3c5b90..a89f589a9 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityEventManager.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityEventManager.java @@ -97,6 +97,8 @@ public class VelocityEventManager implements EventManager { Preconditions.checkNotNull(eventClass, "eventClass"); Preconditions.checkNotNull(postOrder, "postOrder"); Preconditions.checkNotNull(handler, "listener"); + + registeredHandlersByPlugin.put(plugin, handler); bus.register(eventClass, new KyoriToVelocityHandler<>(handler, postOrder)); }