Operator cannot join server
hexagonelle opened this issue · 7 comments
Environment And Mod Information:
- Minecraft Version: 1.19.2
- Forge Version: 43.1.65
- Doggy Talents Version: 1.19.2-2.6.5
- Java Version: java 17.0.2 2022-01-18 LTS
- Operating System (OS): Windows 10 Version 21H2 (OS Build 19044.2251)
Logs
Not available
Issue Description:
If a user is opped on a server with Doggy Talents and attempts to connect, the user is immediately disconnected. If a user is on the server, and then made op, the server disconnects that user with the error "Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(17789) + length(1) exceeds writerIndex(17789): UnpooledHeapByteBuf(ridx:17789, widx: 17789, cap: 17789/17789)
Steps to reproduce:
- Create a server running Forge 43.1.65, with Doggy Talents 1.19.2.2.6.5 as the the only mod.
- Connect to the server.
- Run the command /op [username] in the server, replacing [username] with your username.
- You will be kicked from the server.
Additional Information:
After, a bit of small bit of digging I discovered that I was registering COMMAND_ARGUMENT_TYPES
incorrect. From 1.18 to 1.19 they now use a proper registry: https://forums.minecraftforge.net/topic/112177-argumenttypes-in-minecraft-119/
After correcting that issue, I can not reproduce this issue anymore. It seems linked, I will release this fix and close if no one else complains.
Have the excact same issue in the same minecraft version, just with essential world hosting instead of a forge server.
Thanks for reporting, unfortunately it's going to be a few weeks before I can take a look. Thanks for your patience in advance.