From 95ea1d831982bb9a0bedf19e930928d752ffb5db Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Wed, 2 Jun 2021 15:52:13 +0200 Subject: [PATCH] this probably needs to be handled anyway ignoreCancelled seems to introduce the issue of completions not being filtered in some cases, and it shouldn't cause problems by running anyway --- .../spigot/listeners/PlayerCommandSendListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/endermite/commandwhitelist/spigot/listeners/PlayerCommandSendListener.java b/src/main/java/eu/endermite/commandwhitelist/spigot/listeners/PlayerCommandSendListener.java index 38d4d45..61d8568 100644 --- a/src/main/java/eu/endermite/commandwhitelist/spigot/listeners/PlayerCommandSendListener.java +++ b/src/main/java/eu/endermite/commandwhitelist/spigot/listeners/PlayerCommandSendListener.java @@ -8,7 +8,7 @@ import java.util.*; public class PlayerCommandSendListener implements Listener { - @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) + @EventHandler(priority = EventPriority.HIGHEST) public void PlayerCommandSendEvent(org.bukkit.event.player.PlayerCommandSendEvent event) { Player player = event.getPlayer(); if (player.hasPermission("commandwhitelist.bypass"))