From 9f8b4b2404c1ae98b05ad8d616749c14d6ba7069 Mon Sep 17 00:00:00 2001 From: Luck Date: Tue, 10 Nov 2020 16:17:23 +0000 Subject: [PATCH] Fix inf loop when sending messages to command blocks on Bukkit (#2702) --- .../java/me/lucko/luckperms/bukkit/BukkitSenderFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitSenderFactory.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitSenderFactory.java index 42fa90ee3..81ca7140b 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitSenderFactory.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitSenderFactory.java @@ -69,7 +69,7 @@ public class BukkitSenderFactory extends SenderFactory sendMessage(sender, message)); + getPlugin().getBootstrap().getScheduler().executeSync(() -> this.audiences.sender(sender).sendMessage(message)); } }