Skip to content

Commit

Permalink
this probably needs to be handled anyway
Browse files Browse the repository at this point in the history
ignoreCancelled seems to introduce the issue of completions not being filtered in some cases, and it shouldn't cause problems by running anyway
  • Loading branch information
YouHaveTrouble committed Jun 2, 2021
1 parent 9da87b2 commit 95ea1d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 95ea1d8

Please sign in to comment.