diff --git a/src/net/md_5/bungee/api/bungeepluginmanager/ModifiedPluginEventBus.java b/src/net/md_5/bungee/api/bungeepluginmanager/ModifiedPluginEventBus.java index 2beb11e..60c33ac 100644 --- a/src/net/md_5/bungee/api/bungeepluginmanager/ModifiedPluginEventBus.java +++ b/src/net/md_5/bungee/api/bungeepluginmanager/ModifiedPluginEventBus.java @@ -22,6 +22,7 @@ package net.md_5.bungee.api.bungeepluginmanager; import net.md_5.bungee.api.event.AsyncEvent; import net.md_5.bungee.api.plugin.Plugin; import net.md_5.bungee.event.EventBus; +import net.md_5.bungee.event.EventExceptionHandler; import java.util.Collections; import java.util.Set; @@ -45,13 +46,13 @@ public final class ModifiedPluginEventBus extends EventBus { } @Override - public void post(Object event) { + public void post(T event, EventExceptionHandler exceptionHandler) { if (event instanceof AsyncEvent) { synchronized (LOCK) { UNCOMPLETED_EVENTS.add((AsyncEvent) event); } } - super.post(event); + super.post(event, exceptionHandler); } }