From 27f6f225c93cf816d17e225a53f4a15aad510fcc Mon Sep 17 00:00:00 2001 From: Luck Date: Sat, 29 Oct 2016 21:56:55 +0100 Subject: [PATCH] whoops --- .../src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); });