diff --git a/api/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java b/api/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java index 359c3632..5d2b088c 100644 --- a/api/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java +++ b/api/src/main/java/net/md_5/bungee/api/scheduler/TaskScheduler.java @@ -88,6 +88,6 @@ public interface TaskScheduler * * @return the underlying executor service or compatible wrapper */ - ExecutorService getExecutorService(); + ExecutorService getExecutorService(Plugin plugin); } } diff --git a/proxy/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java b/proxy/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java index 06568a90..2d0cc2da 100644 --- a/proxy/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java +++ b/proxy/src/main/java/net/md_5/bungee/scheduler/BungeeScheduler.java @@ -30,7 +30,7 @@ public class BungeeScheduler implements TaskScheduler { @Override - public ExecutorService getExecutorService() + public ExecutorService getExecutorService(Plugin plugin) { return s; }