Comitems player_chat event doesn't work properly with cancel-action #1209
Labels
status:pending
Pending acceptance or closure.
status:platform-issue
An issue with the platform (eg Spigot), that we cannot workaround
type:bug
Incorrect behavior, not working as intended
Versions
CraftBook version: 3.10.2-SNAPSHOT;4616-21180b0
Bukkit version: git-Spigot-a99063f-fad2494
Describe the bug
When using a command item with the PLAYER_CHAT event and cancel-action turned on, the message sent my the player is still visible in chat, though it is blocked from other plugins.
When using an comitem to send a /say @m command through the console, both the console message and player message are visible despite cancel-action being set to true.
The player message does not show up on my Discord server's linked Minecraft chat however, as intended
To Reproduce
Expected behavior
Creating a console /say microphone for fun, and expect the chat message sent by the player to be blocked from sending by the cancel-action flag
Screenshots
The text was updated successfully, but these errors were encountered: