Pass plugin into executor getter for future proofing

This commit is contained in:
md_5 2014-07-08 15:53:25 +10:00
parent 5d1b660e32
commit 8ce26e0370
2 changed files with 2 additions and 2 deletions

View File

@ -88,6 +88,6 @@ public interface TaskScheduler
* *
* @return the underlying executor service or compatible wrapper * @return the underlying executor service or compatible wrapper
*/ */
ExecutorService getExecutorService(); ExecutorService getExecutorService(Plugin plugin);
} }
} }

View File

@ -30,7 +30,7 @@ public class BungeeScheduler implements TaskScheduler
{ {
@Override @Override
public ExecutorService getExecutorService() public ExecutorService getExecutorService(Plugin plugin)
{ {
return s; return s;
} }