mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
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
|
* @return the underlying executor service or compatible wrapper
|
||||||
*/
|
*/
|
||||||
ExecutorService getExecutorService();
|
ExecutorService getExecutorService(Plugin plugin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ public class BungeeScheduler implements TaskScheduler
|
|||||||
{
|
{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ExecutorService getExecutorService()
|
public ExecutorService getExecutorService(Plugin plugin)
|
||||||
{
|
{
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user