Pass plugin into executor getter for future proofing
This commit is contained in:
parent
5d1b660e32
commit
8ce26e0370
@ -88,6 +88,6 @@ public interface TaskScheduler
|
||||
*
|
||||
* @return the underlying executor service or compatible wrapper
|
||||
*/
|
||||
ExecutorService getExecutorService();
|
||||
ExecutorService getExecutorService(Plugin plugin);
|
||||
}
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ public class BungeeScheduler implements TaskScheduler
|
||||
{
|
||||
|
||||
@Override
|
||||
public ExecutorService getExecutorService()
|
||||
public ExecutorService getExecutorService(Plugin plugin)
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user