Description
Possible kick for avoiding normalization when sending a message
Steps to reproduce
- Enter a command longer than 256 characters, for example
/ctellraw "test test test..."
- Open the chat
- Press the Up Arrow key
- Go to the start of the chat
- Add a character and send the message
- Kick
Analysis
This mixin should probably be modified to use ChatLengthExtender#isClientcommandsCommand
|
if (ChatLengthExtender.currentLengthExtension != null) { |
Attachments
logs
https://gist.github.com/Zailer43/cc49d7ed767b9730a486531199c70856
Versions
minecraft = 1.21.10
clientcommands = 2.12.2
fabric-api = 0.135.0+1.21.10
Description
Possible kick for avoiding normalization when sending a message
Steps to reproduce
/ctellraw "test test test..."Analysis
This mixin should probably be modified to use
ChatLengthExtender#isClientcommandsCommandclientcommands/src/main/java/net/earthcomputer/clientcommands/mixin/lengthextender/StringUtilMixin.java
Line 14 in bbb93d9
Attachments
logs
https://gist.github.com/Zailer43/cc49d7ed767b9730a486531199c70856
Versions
minecraft = 1.21.10
clientcommands = 2.12.2
fabric-api = 0.135.0+1.21.10