diff --git a/api/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java b/api/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java index 001064a8..4c90ffac 100644 --- a/api/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java +++ b/api/src/main/java/net/md_5/bungee/api/event/AsyncEvent.java @@ -53,13 +53,14 @@ public class AsyncEvent extends Event Preconditions.checkState( !intents.contains( plugin ), "Plugin %s already registered intent for event %s", plugin, this ); intents.add( plugin ); + latch.incrementAndGet(); } /** * Notifies this event that this plugin has done all its required processing * and wishes to let the event proceed. * - * @param plugin a plugin which has an intent registered for this evemt + * @param plugin a plugin which has an intent registered for this event */ @SuppressWarnings("unchecked") public void completeIntent(Plugin plugin)