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 76f5d444..5f39b207 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java @@ -138,7 +138,7 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin { updateTaskBuffer = new BufferedRequest(1000L, this::doAsync) { @Override protected Void perform() { - doAsync(new UpdateTask(LPBukkitPlugin.this)); + new UpdateTask(LPBukkitPlugin.this).run(); return null; } }; diff --git a/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java b/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java index eaae9c19..f0b9b096 100644 --- a/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java +++ b/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java @@ -114,7 +114,7 @@ public class LPBungeePlugin extends Plugin implements LuckPermsPlugin { updateTaskBuffer = new BufferedRequest(1000L, this::doAsync) { @Override protected Void perform() { - doAsync(new UpdateTask(LPBungeePlugin.this)); + new UpdateTask(LPBungeePlugin.this).run(); return null; } }; diff --git a/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java b/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java index 651190d1..79ebc7b1 100644 --- a/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java +++ b/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java @@ -154,7 +154,7 @@ public class LPSpongePlugin implements LuckPermsPlugin { updateTaskBuffer = new BufferedRequest(1000L, this::doAsync) { @Override protected Void perform() { - doAsync(new UpdateTask(LPSpongePlugin.this)); + new UpdateTask(LPSpongePlugin.this).run(); return null; } };