Update on sync thread where possible
This commit is contained in:
parent
71b6a5fa02
commit
6c8a93dc1b
4 changed files with 22 additions and 8 deletions
|
|
@ -6,6 +6,11 @@ import net.md_5.bungee.api.ProxyServer;
|
|||
|
||||
public class BungeeTaskManager extends AbstractTaskManager {
|
||||
|
||||
@Override
|
||||
public void runTask(Runnable runnable) {
|
||||
runTaskAsynchronously(runnable);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void runTaskAsynchronously(Runnable runnable) {
|
||||
ProxyServer.getInstance().getScheduler().runAsync(ServerUtils.getInstance(), runnable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue