-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bug: confirmedConfirmed bugs in EssentialsX.Confirmed bugs in EssentialsX.module: discordIssues or PRs for the EssentialsDiscord moduleIssues or PRs for the EssentialsDiscord module
Milestone
Description
Type of bug
Compatibility issue, Other unexpected behaviour
/ess dump all output
EssentialsX 2.19.7
Error log (if applicable)
Bug description
Essentialsx discord ignores event.setCancelled(true) and still sends this message to discord
code example:
@EventHandler public void onPlayerChat(AsyncChatEvent event) { event.setCancelled(true); }
plugin example https://drive.google.com/file/d/1Ipjs0epv6tJE9LpXrM2-0a24GGqwLLMi/view?usp=sharing
Steps to reproduce
- Install example plugin and EssentialsX discord with discord hook
- Send any message (any message will be canceled)
- Check out the discord chat
Expected behaviour
Hmmm... don't send a message?
Actual behaviour
Message sent successfully xD
Metadata
Metadata
Assignees
Labels
bug: confirmedConfirmed bugs in EssentialsX.Confirmed bugs in EssentialsX.module: discordIssues or PRs for the EssentialsDiscord moduleIssues or PRs for the EssentialsDiscord module