This commit is contained in:
Luck 2016-10-29 21:56:55 +01:00
parent 41362aa34a
commit 27f6f225c9
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -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();
});