When a message in chat contains a filtered word (Described in Mod menu -> Chat Tools -> Chat Filter -> Rules) it instantly boots you out of the game and displays "Network Protocol Error".
Steps to reproduce
Be on linux (I'm pretty sure this is a linux-specific bug, doesn't matter the distrobution I think)
Add all of the required mods (Chat Tools, Fabric API, Cloth Config, Mod Menu for config)
Add a rule in (Mod menu -> Chat Tools -> Chat Filter -> Rules), "cat" for example, enable chat filter
Join a server and type "cat" in chat
Error
Expected behavior
It either removes the message (As in, it looks like the chat has not moved) or it makes the message blank.
Bug description
When a message in chat contains a filtered word (Described in Mod menu -> Chat Tools -> Chat Filter -> Rules) it instantly boots you out of the game and displays "Network Protocol Error".
Steps to reproduce
Expected behavior
It either removes the message (As in, it looks like the chat has not moved) or it makes the message blank.
Actual behavior
I get kicked with a network protocol error
Relevant logs
https://pastebin.com/ZpRNBz1Z
Minecraft version
1.21
Mod version
2.3.1
Other information
No response
Check list