diff --git a/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java b/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java index de40a4b..70f1cb3 100644 --- a/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java +++ b/proxy/src/main/java/com/glyart/authmevelocity/proxy/AuthMeVelocityPlugin.java @@ -105,6 +105,7 @@ public class AuthMeVelocityPlugin { proxy.getChannelRegistrar().register(AUTHMEVELOCITY_CHANNEL); listeners.forEach(listener -> proxy.getEventManager().unregisterListener(this, listener)); + listeners.clear(); listeners.add(new ProxyListener(config, api, logger, proxy)); listeners.add(new PluginMessageListener(proxy, logger, config, api));