mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-01 02:21:43 +02:00
Improve AbstractJavaScheduler (#3326)
This commit is contained in:
@@ -34,6 +34,7 @@ public class BukkitSchedulerAdapter extends AbstractJavaScheduler implements Sch
|
||||
private final Executor sync;
|
||||
|
||||
public BukkitSchedulerAdapter(LPBukkitBootstrap bootstrap) {
|
||||
super(bootstrap);
|
||||
this.sync = r -> bootstrap.getServer().getScheduler().scheduleSyncDelayedTask(bootstrap.getLoader(), r);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user