From a195e9452242cccf6acb1b6251a976bc069c3549 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 22 Sep 2016 17:34:51 +0100 Subject: [PATCH] Calculate defaults after all plugins have loaded --- bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java b/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java index 0fc2c906..73d3fd1a 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/luckperms/LPBukkitPlugin.java @@ -78,7 +78,7 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin { getLog().info("Loading configuration..."); configuration = new BukkitConfig(this); defaultsProvider = new DefaultsProvider(); - defaultsProvider.refresh(); + getServer().getScheduler().runTaskLater(this, () -> defaultsProvider.refresh(), 1L); // register events PluginManager pm = getServer().getPluginManager();