When I typed a chat message, it kicked the bot with: [Server thread/INFO]: 5qjQ8p5J5X9JBP1S lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(22) + length(256) exceeds writerIndex(26): PooledUnsafeDirectByteBuf(ridx: 22, widx: 26, cap: 26)
Only chat commands work.
The next problem is that the disconnect message is empty.
[12:34:35] INFO | N3R9PQvlNbZZEBwT disconnected
[12:34:35] INFO | ->
PLEASE TEST YOUR CODE BEFORE CREATING A PULL REQUEST!
I tested it on Spigot 1.19.4.
The chat is not working.
When I typed a chat message, it kicked the bot with:
`[Server thread/INFO]: 5qjQ8p5J5X9JBP1S lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(22) + length(256) exceeds writerIndex(26): PooledUnsafeDirectByteBuf(ridx: 22, widx: 26, cap: 26)`
Only chat commands work.
The next problem is that the disconnect message is empty.
```
[12:34:35] INFO | N3R9PQvlNbZZEBwT disconnected
[12:34:35] INFO | ->
```
PLEASE TEST YOUR CODE BEFORE CREATING A PULL REQUEST!
I tested it on Spigot 1.19.4.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Little pull request to add support for 1.19.4
The chat is not working.
When I typed a chat message, it kicked the bot with:
[Server thread/INFO]: 5qjQ8p5J5X9JBP1S lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(22) + length(256) exceeds writerIndex(26): PooledUnsafeDirectByteBuf(ridx: 22, widx: 26, cap: 26)Only chat commands work.
The next problem is that the disconnect message is empty.
PLEASE TEST YOUR CODE BEFORE CREATING A PULL REQUEST!
I tested it on Spigot 1.19.4.
The code was working on spigot 1.19.4 with chat messages because I tested it too....
Pull request closed