diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java index 7d7dac339..f2556afee 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java @@ -236,7 +236,7 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin { } // shutdown the temporary executor when the Bukkit one starts - doAsync(() -> { + getServer().getScheduler().runTaskAsynchronously(this, () -> { schedulerAvailable = true; executorService.shutdown(); });